ceph-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] librbd copy-on-read v2
@ 2014-05-13  9:12 Min Chen
  2014-05-13  9:12 ` [PATCH 1/3] *v2* librbd: copy-on-read for clones, add an option for copy-on-read Min Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Min Chen @ 2014-05-13  9:12 UTC (permalink / raw)
  To: josh.durgin; +Cc: ceph-devel

summary:
  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 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(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-13  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13  9:12 [PATCH 0/3] librbd copy-on-read v2 Min Chen
2014-05-13  9:12 ` [PATCH 1/3] *v2* librbd: copy-on-read for clones, add an option for copy-on-read Min Chen
2014-05-13  9:12 ` [PATCH 2/3] *v2* librbd: copy-on-read for clones, read entire object from parent Min Chen
2014-05-13  9:12 ` [PATCH 3/3] *v2* librbd: copy-on-read for clones, write entire object into child asychronously Min Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).