Project

General

Profile

Actions

Bug #53885

closed

diff-iterate in fast-diff mode reports extents out of order for fancy striped images

Added by Ilya Dryomov over 2 years ago. Updated almost 2 years ago.

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

0%

Source:
Tags:
Backport:
octopus,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

$ rbd create --size 20M --stripe-unit 1M --stripe-count 3 --thick-provision foo
Thick provisioning: 100% complete...done.

With fast-diff adjacent extents are reported out of order (and also aren't merged):

$ rbd diff foo
Offset    Length    Type
0         12582912  data
12582912  8388608   data
$ rbd diff --whole-object foo
Offset    Length   Type
0         1048576  data
3145728   1048576  data
6291456   1048576  data
9437184   1048576  data
1048576   1048576  data
4194304   1048576  data
7340032   1048576  data
10485760  1048576  data
2097152   1048576  data
5242880   1048576  data
8388608   1048576  data
11534336  1048576  data
12582912  1048576  data
15728640  1048576  data
18874368  1048576  data
13631488  1048576  data
16777216  1048576  data
19922944  1048576  data
14680064  1048576  data
17825792  1048576  data

This bug goes back to the introduction of fast-diff mode in 2015.


Related issues 4 (1 open3 closed)

Related to rbd - Bug #53784: diff-iterate reports incorrect offsets in fast-diff modeResolvedIlya Dryomov

Actions
Related to rbd - Bug #55025: [test] improve fancy striping coverageNewIlya Dryomov

Actions
Copied to rbd - Backport #55057: octopus: diff-iterate in fast-diff mode reports extents out of order for fancy striped imagesRejectedIlya DryomovActions
Copied to rbd - Backport #55058: pacific: diff-iterate in fast-diff mode reports extents out of order for fancy striped imagesResolvedIlya DryomovActions
Actions

Also available in: Atom PDF