Project

General

Profile

Actions

Feature #16780

closed

rbd-mirror: use sparse read during image sync

Added by Jason Dillaman almost 8 years ago. Updated about 7 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 1 (0 open1 closed)

Copied to rbd - Backport #17879: jewel: rbd-mirror: use sparse read during image syncClosedAbhishek VarshneyActions
Actions #1

Updated by Anonymous over 7 years ago

should we make it configurable or always do sparse read?

Actions #2

Updated by Jason Dillaman over 7 years ago

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

Actions #3

Updated by Anonymous over 7 years ago

all right.

Actions #4

Updated by Jason Dillaman over 7 years ago

  • Status changed from New to Fix Under Review
Actions #5

Updated by Mykola Golub over 7 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Nathan Cutler over 7 years ago

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

Updated by Jason Dillaman about 7 years ago

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

Also available in: Atom PDF