summaryrefslogtreecommitdiff
path: root/net/ceph/osd_client.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-21 21:14:45 +0400
committerSage Weil <sage@inktank.com>2013-05-02 08:19:21 +0400
commitcc070d59bc422945f83a89e9d60f749d0f82787d (patch)
tree710d6ad8501cecd11b57bf84c332c98acac95da6 /net/ceph/osd_client.c
parent57385b51c3ffd0fed2dd9d5d8e4ec080c85ecbcd (diff)
downloadlinux-cc070d59bc422945f83a89e9d60f749d0f82787d.tar.xz
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 <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions