diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2011-05-17 22:13:23 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-05-19 20:46:01 -0400 |
commit | 5f4e206666f834340b69ddb43f86de3851c8675a (patch) | |
tree | f3e2d1a4430cbd9353b2959e3f00b4a1906ad467 /drivers/ata/pata_triflex.c | |
parent | f68b3afe45051d43e9f9277c6f1404670e1b99d2 (diff) |
libata: Use Maximum Write Same Length to report discard size limit
Previously we used Maximum Unmap LBA Count in the Block Limits VPD to
signal the maximum number of sectors we could handle in a single Write
Same command.
Starting with SBC3r26 the Block Limits VPD has an explicit limit on the
number of blocks in a Write Same. This means we can stop abusing a field
related to the Unmap command and let our SAT use the proper value in the
VPD (Maximum Write Same Length).
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/ata/pata_triflex.c')
0 files changed, 0 insertions, 0 deletions