aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-11-26 22:46:03 -0500
committerJeff Garzik <jgarzik@redhat.com>2009-12-03 18:01:04 -0500
commite78db4dfb1355a895f7ea50133b702b55b8ed184 (patch)
tree13052100a353857ff07dbb0a3c78fdc713e58bcb /lib
parentd413ff3e2aa09a4ebef718dbc4be4356f879467f (diff)
libata: Report zeroed read after TRIM and max discard size
Our current TRIM payload is a single sector that can accommodate 64 * 65535 blocks being unmapped. Report this value in the Block Limits Maximum Unmap LBA count field. If a storage device supports TRIM and the DRAT and RZAT bits are set, report TPRZ=1 in Read Capacity(16). Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions