Project

General

Profile

Actions

Bug #6926

closed

rbd: diff output includes previously non-existent objects as zeroed extents

Added by Josh Durgin over 10 years ago. Updated over 9 years ago.

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

0%

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

Description

For objects that exist in the current image, but did not in previous snapshots, extra 'zero' extents are listed.

To reproduce:

$ rbd create -s 10 img
$ rbd snap create img@snap1
$ rbd diff img@snap1
$ rbd bench-write --io-total 1 img
bench-write  io_size 4096 io_threads 16 bytes 1 pattern seq
  SEC       OPS   OPS/SEC   BYTES/SEC
elapsed:     0  ops:       16  ops/sec:   455.15  bytes/sec: 116519.22
$ rbd diff img@snap1
Offset Length Type 
0      4096   zero

The extents are listed as zeroes with the size of the now-existing object.

Actions #1

Updated by Adam Crume over 9 years ago

  • Status changed from 12 to In Progress
  • Assignee set to Adam Crume
Actions #2

Updated by Adam Crume over 9 years ago

  • Status changed from In Progress to Fix Under Review
  • Assignee changed from Adam Crume to Josh Durgin
Actions #3

Updated by Josh Durgin over 9 years ago

  • Status changed from Fix Under Review to Resolved
  • Assignee changed from Josh Durgin to Adam Crume

commit:9a1ab95176fe4d200a83b7b4f7e2b3097d541a7a

Actions

Also available in: Atom PDF