From: Martin K. Petersen Date: Wed, 18 May 2011 02:13:23 +0000 (-0400) Subject: libata: Use Maximum Write Same Length to report discard size limit X-Git-Tag: v3.0-rc1~375^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f4e206666f834340b69ddb43f86de3851c8675a;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik Cc: stable@kernel.org --- Reading git-diff-tree failed