Skip to content

librbd: v3 copy-on-read for clones

Min Chen ceph-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3librbd: v3 copy-on-read for clones, add an option for copy-on-readsrc/common/config_opts.h src/librbd/AioRequest.cc+5 -00 replies
2/3librbd: v3 copy-on-read for clones, read entire object from parentsrc/librbd/AioRequest.cc src/librbd/AioRequest.h+51 -30 replies
3/3librbd: v3 copy-on-read for clones, write entire object into child asychronouslysrc/include/xlist.h src/librbd/AioRequest.cc src/librbd/AioRequest.h +3 more+113 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] librbd: v3 copy-on-read for clones

Rbd clone shares objects with its parent, unless writing data to clone. When read data from clone, it copy data from its parent if
object doesn't exits in clone. Each time read the same object(not in clone), the clone must send request to its parent. Usually the network latency is bottleneck of read performance. If store the object data into clone after copyup it from parent, then the next time read the same object just in clone, which can improve read performance.
Copy entire object from parent,no matter read entire or part of object.

Min Chen (3):
librbd: copy-on-read for clones, add an option for copy-on-read
librbd: copy-on-read for clones, read entire object from parent
librbd: copy-on-read for clones, write entire object into child
asychronously

 src/common/config_opts.h |    1 +
 src/include/xlist.h      |    1 +
 src/librbd/AioRequest.cc |   88 ++++++++++++++++++++++++++++++++++++++++++++--
 src/librbd/AioRequest.h  |    4 +++
 src/librbd/ImageCtx.cc   |   68 +++++++++++++++++++++++++++++++++++
 src/librbd/ImageCtx.h    |    6 ++++
 src/librbd/internal.cc   |    4 +++
 7 files changed, 169 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.10.4