Commit e38d9e8
committed
scsi: sd: Use cached ATA Information VPD page
Since the ATA Information VPD is now cached at device discovery time it is
no longer necessary to request this page when we configure WRITE SAME.
Instead use the cached information to determine if this disk sits behind a
SCSI-ATA translation layer.
Link: https://lore.kernel.org/r/20220302053559.32147-7-martin.petersen@oracle.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent d657700 commit e38d9e8
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2996 | 2996 | | |
2997 | 2997 | | |
2998 | 2998 | | |
2999 | | - | |
3000 | | - | |
| 2999 | + | |
3001 | 3000 | | |
3002 | 3001 | | |
3003 | 3002 | | |
3004 | 3003 | | |
3005 | 3004 | | |
3006 | 3005 | | |
3007 | 3006 | | |
3008 | | - | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
3009 | 3010 | | |
| 3011 | + | |
3010 | 3012 | | |
3011 | 3013 | | |
3012 | 3014 | | |
| |||
0 commit comments