Skip to content

libceph: support for replica reads

Ilya Dryomov ceph-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 5 repliesIn review
  2. v15 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libceph: add non-asserting rbtree insertion helperinclude/linux/ceph/libceph.h net/ceph/osdmap.c+19 -510 replies
2/5libceph: decode CRUSH device/bucket types and namesinclude/linux/crush/crush.h net/ceph/crush/crush.c net/ceph/osdmap.c+92 -22 replies
3/5libceph: crush_location infrastructureinclude/linux/ceph/libceph.h include/linux/ceph/osdmap.h net/ceph/ceph_common.c +1 more+168 -12 replies
4/5libceph: support for balanced and localized readsinclude/linux/ceph/osd_client.h include/linux/ceph/osdmap.h net/ceph/debugfs.c +2 more+193 -60 replies
5/5libceph: read_from_replica optioninclude/linux/ceph/libceph.h net/ceph/ceph_common.c net/ceph/osd_client.c+45 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff Layton
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] libceph: support for replica reads

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(-)
Signature · 1 line
2.19.2