From: Mike Snitzer Date: Tue, 20 Aug 2013 19:02:41 +0000 (-0400) Subject: dm thin: fix stacking of geometry limits X-Git-Tag: v3.12-rc1~70^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cc67cd9c55c4b1f076abca06c922751088e6d86;p=pandora-kernel.git dm thin: fix stacking of geometry limits Do not blindly override the queue limits (specifically io_min and io_opt). Allow traditional stacking of these limits if io_opt is a factor of the thin-pool's data block size. Without this patch mkfs.xfs does not recognize the thin device's provided limits as a useful geometry (e.g. raid) so these hints are ignored. This was due to setting io_min to a useless value. Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon Acked-by: Joe Thornber --- Reading git-diff-tree failed