From: Alex Elder Date: Sun, 21 Apr 2013 17:14:45 +0000 (-0500) Subject: rbd: get and check striping parameters X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc070d59bc422945f83a89e9d60f749d0f82787d;p=pandora-kernel.git rbd: get and check striping parameters If an rbd format 2 image indicates it supports the STRIPINGV2 feature we need to find out its stripe unit and stripe count in order to know whether we can use it. We don't yet support fancy striping fully, but if the default parameters are used the behavior is indistinguishible from non-fancy striping. This is necessary because some images require the STRIPINGV2 feature even if they use the default parameters. (Which is to say the feature bit was erroneously set even if the feature was not used.) This resolves: http://tracker.ceph.com/issues/4709 Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed