Project

General

Profile

Bug #4710

rbd: STRIPINGV2 feature specified by default for format 2 images

Added by Josh Durgin over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
bobtail
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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

Revision 5926ffa5 (diff)
Added by Sage Weil over 7 years ago

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 <>

Revision aa37726b (diff)
Added by Josh Durgin over 7 years ago

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 <>
(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

Also available in: Atom PDF