Bug #13122
closedrbd: stripingv2 feature bit not set when unnecessary for striping params
0%
Description
ceph -v
ceph version 0.94.3 (95cefea9fd9ab740263bf8bb4796fd864d9afe2b)
rbd create --size 1024 --image-format 2 --image-features 15 --order 22 test
rbd info test
rbd image 'test':
size 1024 MB in 256 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.acbc6b8b4567
format: 2
features: layering, exclusive, object map
flags:
Feature "striping" (2) is missing. When I do the same using ceph-ruby I see the feature getting activated:
rbd image 'ceph-ruby':
size 1024 MB in 256 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.acb9327b23c6
format: 2
features: layering, striping, exclusive, object map
flags:
stripe unit: 4096 kB
stripe count: 1
Updated by Josh Durgin over 8 years ago
- Project changed from Ceph to rbd
- Subject changed from rbd client does not take feature stripingv2 into account to rbd: stripingv2 feature bit not set when unnecessary for striping params
- Priority changed from Normal to Low
Like Ilya mentioned on ceph-users (http://permalink.gmane.org/gmane.comp.file-systems.ceph.user/23841), this is was intentional for the rbd cli when you use the default stripe-unit and stripe-count.
Since 3.10, krbd has ignored the STRIPINGV2 feature bit if the default striping parameters are used, so we could get rid of this workaround in the rbd cli at this point.
Updated by Josh Durgin about 8 years ago
- Status changed from New to Resolved
This was fixed sometime in the recent rbd cli refactor.