Project

General

Profile

Feature #16780

rbd-mirror: use sparse read during image sync

Added by Jason Dillaman almost 4 years ago. Updated over 3 years ago.

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

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

If 1 byte is used in a primary image backing object, the image sync process will read and write a full object size chunk. Optimize this behavior by using sparse read / write.


Related issues

Copied to rbd - Backport #17879: jewel: rbd-mirror: use sparse read during image sync Closed

History

#1 Updated by Tianqing Li almost 4 years ago

should we make it configurable or always do sparse read?

#2 Updated by Jason Dillaman almost 4 years ago

@Tianqing Li: essentially no harm to keep it enabled always -- librbd already utilizes sparse reads for every read request.

#3 Updated by Tianqing Li almost 4 years ago

all right.

#4 Updated by Jason Dillaman almost 4 years ago

  • Status changed from New to Fix Under Review

#5 Updated by Mykola Golub over 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#6 Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #17879: jewel: rbd-mirror: use sparse read during image sync added

#7 Updated by Jason Dillaman over 3 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (jewel)

Also available in: Atom PDF