diff options
author | 2010-05-16 03:00:00 -0400 | |
---|---|---|
committer | 2010-05-16 03:00:00 -0400 | |
commit | a30eec2a8650a77f754e84b2e15f062fe652baa7 (patch) | |
tree | 7b20063513e534c5c13608df572c77c6975ff900 /kernel/sysctl.c | |
parent | ext4: don't return to userspace after freezing the fs with a mutex held (diff) | |
download | linux-dev-a30eec2a8650a77f754e84b2e15f062fe652baa7.tar.xz linux-dev-a30eec2a8650a77f754e84b2e15f062fe652baa7.zip |
ext4: stop issuing discards if not supported by device
Turn off issuance of discard requests if the device does
not support it - similar to the action we take for barriers.
This will save a little computation time if a non-discardable
device is mounted with -o discard, and also makes it obvious
that it's not doing what was asked at mount time ...
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions