Feature #63341
closedimprove rbd_diff_iterate2() performance in fast-diff mode
0%
Description
It's very inefficient for use cases where a big byte range is iterated over externally and rbd_diff_iterate2() is invoked effectively on individual objects or use cases where the byte range is small to begin with:
- diff is performed on the entire image no matter how small the byte range is, unused results just get discarded before returning
- intermediate snapshot object maps are loaded even when diffing against the beginning of time (fromsnapname == NULL)
- HEAD object map is loaded even when exclusive lock is held
ID Updated by Ilya Dryomov about 3 years ago
Ilya Dryomov wrote:
- intermediate snapshot object maps are loaded even when diffing against the beginning of time (fromsnapname == NULL)
This is tied to https://tracker.ceph.com/issues/53897 and requires resolution there. Otherwise results in fast-diff mode wouldn't match those in list-snaps ("slow") mode.
ID Updated by Ilya Dryomov about 3 years ago
- Blocked by Bug #53897: diff-iterate can report holes when diffing against the beginning of time (fromsnapname == NULL) added
ID Updated by Ilya Dryomov almost 3 years ago
- Status changed from In Progress to Fix Under Review
- Backport set to pacific,quincy,reef
- Pull request ID set to 55127
ID Updated by Ilya Dryomov almost 3 years ago
- Status changed from Fix Under Review to Pending Backport
UB Updated by Upkeep Bot almost 3 years ago
- Copied to Backport #64106: quincy: improve rbd_diff_iterate2() performance in fast-diff mode added
UB Updated by Upkeep Bot almost 3 years ago
- Copied to Backport #64107: reef: improve rbd_diff_iterate2() performance in fast-diff mode added
UB Updated by Upkeep Bot almost 3 years ago
- Copied to Backport #64108: pacific: improve rbd_diff_iterate2() performance in fast-diff mode added
UB Updated by Upkeep Bot almost 3 years ago
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
ID Updated by Ilya Dryomov almost 3 years ago
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 5cbc4d7e7de80ed994f45eeb10d8d29b060b2480
- Fixed In set to v19.0.0-794-g5cbc4d7e7de
- Released In set to v19.2.0~888
- Upkeep Timestamp set to 2025-07-11T21:10:50+00:00