From: Mike Snitzer Date: Tue, 8 Sep 2015 12:56:13 +0000 (-0400) Subject: dm thin: disable discard support for thin devices if pool's is disabled X-Git-Tag: omap-for-v4.3/fixes-rc5~98^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=216076705d6ac291d42e0f8dd85e6a0da98c0fa3;p=pandora-kernel.git dm thin: disable discard support for thin devices if pool's is disabled If the pool is configured with 'ignore_discard' its discard support is disabled. The pool's thin devices should also have queue_limits that reflect discards are disabled. Fixes: 34fbcf62 ("dm thin: range discard support") Signed-off-by: Mike Snitzer Cc: stable@vger.kernel.org # 4.1+ --- Reading git-diff-tree failed