mmc: queue: bring discard_granularity/alignment into line with SCSI
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 23 Jun 2011 10:40:29 +0000 (13:40 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:53:05 +0000 (18:53 -0400)
SCSI defines discard alignment as the offset to the first
optimal discard.  In the case of SD/MMC, that is always zero
which is the default.

SCSI defines discard granularity as a hint of a optimal
discard size.  That is much better expressed by the MMC
"preferred erase size" (pref_erase) field.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found