summaryrefslogtreecommitdiff
path: root/drivers/ras
diff options
context:
space:
mode:
authorShaun Tancheff <shaun@tancheff.com>2016-08-24 13:08:14 -0500
committerTejun Heo <tj@kernel.org>2016-08-25 11:26:48 -0400
commitef2d7392c4ece5c3cd12a6c7ca9366cd8f189aff (patch)
tree0f627a1746582b8443f3377718c58d426ef3871c /drivers/ras
parent7b20309428598df00ffeb0b01f5948dea6aaf1f7 (diff)
libata: SCT Write Same / DSM Trim
Correct handling of devices with sector_size other that 512 bytes. In the case of a 4Kn device sector_size it is possible to describe a much larger DSM Trim than the current fixed default of 512 bytes. This patch assumes the minimum descriptor is sector_size and fills out the descriptor accordingly. The ACS-2 specification is quite clear that the DSM command payload is sized as number of 512 byte transfers so a 4Kn device will operate correctly without this patch. Signed-off-by: Shaun Tancheff <shaun.tancheff@seagate.com> Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions