summaryrefslogtreecommitdiff
path: root/include/linux/mmc/card.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2011-06-23 10:40:29 (GMT)
committerChris Ball <cjb@laptop.org>2011-06-25 22:53:05 (GMT)
commitc31b55cd4eaf050bb5a15bd8251da1b3c7edeb1c (patch)
tree75bc885df951307fda9215e33847411f37935c20 /include/linux/mmc/card.h
parentd09408ade08a08a710a247fb52aa50101e73ebf7 (diff)
downloadlinux-fsl-qoriq-c31b55cd4eaf050bb5a15bd8251da1b3c7edeb1c.tar.xz
mmc: queue: bring discard_granularity/alignment into line with SCSI
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>
Diffstat (limited to 'include/linux/mmc/card.h')
0 files changed, 0 insertions, 0 deletions