diff options
author | Shin'ichiro Kawasaki <[email protected]> | 2022-11-07 13:02:29 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2022-11-08 15:08:25 +0900 |
commit | ea045fd344cb15c164e9ffc8b8cffb6883df8475 (patch) | |
tree | b33c08bc0d9dffc196d10d9b5298f7152bc47473 /tools/testing/radix-tree/main.c | |
parent | 015618c3ec19584c83ff179fa631be8cec906aaf (diff) |
ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure
SAT SCSI/ATA Translation specification requires SCSI SYNCHRONIZE CACHE
(10) and (16) commands both shall be translated to ATA flush command.
Also, ZBC Zoned Block Commands specification mandates SYNCHRONIZE CACHE
(16) command support. However, libata translates only SYNCHRONIZE CACHE
(10). This results in SYNCHRONIZE CACHE (16) command failures on SATA
drives and then libata translation does not conform to ZBC. To avoid the
failure, add support for SYNCHRONIZE CACHE (16).
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
Cc: [email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/main.c')
0 files changed, 0 insertions, 0 deletions