All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <liwang@ubuntukylin.com>
To: Sage Weil <sweil@redhat.com>, Ilya Dryomov <idryomov@gmail.com>,
	Alex Elder <elder@kernel.org>,
	Josh Durgin <josh.durgin@inktank.com>
Cc: ceph-devel@vger.kernel.org, Min Chen <minchen@ubuntukylin.com>,
	Yunchuan Wen <yunchuanwen@ubuntukylin.com>,
	Li Wang <liwang@ubuntukylin.com>
Subject: [PATCH] Rbd: copy-on-read support for kernel rbd client
Date: Thu, 21 May 2015 11:11:53 +0800	[thread overview]
Message-ID: <cover.1432177493.git.liwang@ubuntukylin.com> (raw)

This is a new feature of rbd layering, when reading an object 
from child, if not exist, the kernel rbd client will not only 
request parent for the object, but also write it to child, 
and the jobs are done in an asynchronous way. Therefore, the 
subsequent accesses on this object will hit child without 
bothering parent. This feature could avoid longer latency incurred 
during accessing parent, especially when child and parent are 
geographically isolated, and it also could potentially avoid 
overloading parent.

The patches: 
https://github.com/ceph/ceph-client/pull/11

Min Chen (4):
  Rbd: add an option for copy-on-read
  Rbd: add a new request: rbd_copyup_request
  Rbd: helper functions to manipulate rbd_copyup_request
  Rbd: implement the copy-on-read logic

 drivers/block/rbd.c | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 382 insertions(+), 3 deletions(-)

-- 
1.9.1


             reply	other threads:[~2015-05-21  3:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21  3:11 Li Wang [this message]
2015-05-21  9:07 ` [PATCH] Rbd: copy-on-read support for kernel rbd client Ilya Dryomov
2015-05-21  9:19 ` [PATCH 1/4] Rbd: add an option for copy-on-read Li Wang
2015-05-21  9:19 ` [PATCH 2/4] Rbd: add a new request: rbd_copyup_request Li Wang
2015-05-21  9:19 ` [PATCH 3/4] Rbd: helper functions to manipulate rbd_copyup_request Li Wang
2015-05-21  9:19 ` [PATCH 4/4] Rbd: implement the copy-on-read logic Li Wang
2015-06-24  8:50   ` Ilya Dryomov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1432177493.git.liwang@ubuntukylin.com \
    --to=liwang@ubuntukylin.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=elder@kernel.org \
    --cc=idryomov@gmail.com \
    --cc=josh.durgin@inktank.com \
    --cc=minchen@ubuntukylin.com \
    --cc=sweil@redhat.com \
    --cc=yunchuanwen@ubuntukylin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.