diff options
author | Eric Sandeen <sandeen@redhat.com> | 2010-05-16 03:00:00 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-05-16 03:00:00 -0400 |
commit | a30eec2a8650a77f754e84b2e15f062fe652baa7 (patch) | |
tree | 7b20063513e534c5c13608df572c77c6975ff900 /drivers/base/dma-coherent.c | |
parent | 6b0310fbf087ad6e9e3b8392adca97cd77184084 (diff) | |
download | blackbird-obmc-linux-a30eec2a8650a77f754e84b2e15f062fe652baa7.tar.gz blackbird-obmc-linux-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 'drivers/base/dma-coherent.c')
0 files changed, 0 insertions, 0 deletions