commit | a30eec2a8650a77f754e84b2e15f062fe652baa7 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Sun May 16 03:00:00 2010 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun May 16 03:00:00 2010 -0400 |
tree | 7b20063513e534c5c13608df572c77c6975ff900 | |
parent | 6b0310fbf087ad6e9e3b8392adca97cd77184084 [diff] |
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>