Bug #4710
rbd: STRIPINGV2 feature specified by default for format 2 images
0%
Description
There's a check for whether it's really needed, but the defaults are 0 and 0, which are turned into regular striping by librbd.
Associated revisions
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>
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>
(cherry picked from commit 5926ffa576e9477324ca00eaec731a224195e7db)
Conflicts:
src/rbd.cc
History
#1 Updated by Ian Colle over 7 years ago
- Priority changed from High to Urgent
Per Josh, this is easy fix, let's get it into Cuttlefish.
#2 Updated by Sage Weil over 7 years ago
- Status changed from 12 to In Progress
- Assignee changed from Josh Durgin to Sage Weil
#3 Updated by Sage Weil over 7 years ago
- Status changed from In Progress to Fix Under Review
#4 Updated by Sage Weil over 7 years ago
- Status changed from Fix Under Review to Resolved