diff options
author | Damien Le Moal <[email protected]> | 2023-05-11 03:13:47 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-05-22 17:05:20 -0400 |
commit | 62e4a60e0cdb540b314061469e025fd834ff300c (patch) | |
tree | 6f9f4ab15b76b73c9c3575aec3ff3740b699421d /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 24aeebbf8ea94b5c0cde06350b06e79f5beb28ae (diff) |
scsi: ata: libata: Detect support for command duration limits
Use the supported capabilities identify device data log page to detect if a
device supports the command duration limits feature. For devices supporting
this feature, set the device flag ATA_DFLAG_CDL. To support SCSI-ATA
translation, retrieve the command duration limits log page 18h and cache
this page content using the cdl array added to the ata_device data
structure.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Co-developed-by: Niklas Cassel <[email protected]>
Signed-off-by: Niklas Cassel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions