]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: only set STRIPINGV2 feature when needed 232/head
authorSage Weil <sage@inktank.com>
Mon, 22 Apr 2013 19:41:49 +0000 (12:41 -0700)
committerSage Weil <sage@inktank.com>
Mon, 22 Apr 2013 19:41:49 +0000 (12:41 -0700)
commit5926ffa576e9477324ca00eaec731a224195e7db
treed1148d4c5776f8f64dd7cc5bb2ceb4b9ad4d9c08
parent5446218f7bda980dfcb73c853cb5af799bd14fdd
rbd: only set STRIPINGV2 feature when needed

Only set the STRIPINGV2 feature if the striping parameters are non-default.
Specifically, fix the case where the passed-in size and count are == 0.

Fixes: #4710
Signed-off-by: Sage Weil <sage@inktank.com>
src/rbd.cc