All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilya Dryomov <idryomov@gmail.com>
To: ceph-devel@vger.kernel.org
Cc: Jeff Layton <jlayton@kernel.org>
Subject: [PATCH v2 0/5] libceph: support for replica reads
Date: Sat, 30 May 2020 17:34:34 +0200	[thread overview]
Message-ID: <20200530153439.31312-1-idryomov@gmail.com> (raw)

Hello,

This adds support for replica reads (balanced and localized reads)
to rbd and ceph.  crush_location syntax is slightly different, see
patch 3 for details.

v1 -> v2:
- change crush_location syntax
- rename read_policy to read_from_replica, add read_from_replica=no
- crush_location and read_from_replica are now overridable

Thanks,

                Ilya


Ilya Dryomov (5):
  libceph: add non-asserting rbtree insertion helper
  libceph: decode CRUSH device/bucket types and names
  libceph: crush_location infrastructure
  libceph: support for balanced and localized reads
  libceph: read_from_replica option

 include/linux/ceph/libceph.h    |  13 +-
 include/linux/ceph/osd_client.h |   1 +
 include/linux/ceph/osdmap.h     |  19 +-
 include/linux/crush/crush.h     |   6 +
 net/ceph/ceph_common.c          |  75 +++++++
 net/ceph/crush/crush.c          |   3 +
 net/ceph/debugfs.c              |   6 +-
 net/ceph/osd_client.c           |  92 +++++++-
 net/ceph/osdmap.c               | 363 +++++++++++++++++++++++++++-----
 9 files changed, 517 insertions(+), 61 deletions(-)

-- 
2.19.2

             reply	other threads:[~2020-05-30 15:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-30 15:34 Ilya Dryomov [this message]
2020-05-30 15:34 ` [PATCH v2 1/5] libceph: add non-asserting rbtree insertion helper Ilya Dryomov
2020-05-30 15:34 ` [PATCH v2 2/5] libceph: decode CRUSH device/bucket types and names Ilya Dryomov
2020-06-01 10:49   ` Jeff Layton
2020-06-01 11:14     ` Ilya Dryomov
2020-05-30 15:34 ` [PATCH v2 3/5] libceph: crush_location infrastructure Ilya Dryomov
2020-05-31 13:27   ` Jeff Layton
2020-05-31 21:07     ` Ilya Dryomov
2020-05-30 15:34 ` [PATCH v2 4/5] libceph: support for balanced and localized reads Ilya Dryomov
2020-05-30 15:34 ` [PATCH v2 5/5] libceph: read_from_replica option Ilya Dryomov
2020-06-01 10:57 ` [PATCH v2 0/5] libceph: support for replica reads Jeff Layton

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=20200530153439.31312-1-idryomov@gmail.com \
    --to=idryomov@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=jlayton@kernel.org \
    /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.