From: Eric Sandeen Date: Sun, 16 May 2010 07:00:00 +0000 (-0400) Subject: ext4: stop issuing discards if not supported by device X-Git-Tag: v2.6.35-rc1~39^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a30eec2a8650a77f754e84b2e15f062fe652baa7;p=pandora-kernel.git 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 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed