summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2011-02-23 23:49:51 +0100
committerTheodore Ts'o <tytso@mit.edu>2011-02-23 23:49:51 +0100
commit5c2ed62fd447e2c696e222dcf71d1322bbbc58d4 (patch)
tree4ee089653fe84a9f21518a351b1ad06c8281011f /CREDITS
parentext4: check if device support discard in FITRIM ioctl (diff)
downloadlinux-5c2ed62fd447e2c696e222dcf71d1322bbbc58d4.tar.xz
linux-5c2ed62fd447e2c696e222dcf71d1322bbbc58d4.zip
ext4: Adjust minlen with discard_granularity in the FITRIM ioctl
Discard granularity tells us the minimum size of extent that can be discarded by the device. If the user supplies a minimum extent that should be discarded (range.minlen) which is smaller than the discard granularity, increase minlen to the discard granularity, since there's no point submitting trim requests that the device will reject anyway. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions