Skip to content

wip-alloc-request

Ilya Dryomov ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libceph: rename ceph_osd_req_op::payload_len to indata_leninclude/linux/ceph/osd_client.h net/ceph/osd_client.c+7 -72 replies
2/4libceph: move r_reply_op_{len,result} into struct ceph_osd_req_opdrivers/block/rbd.c include/linux/ceph/osd_client.h net/ceph/osd_client.c+6 -50 replies
3/4libceph: osdc->req_mempool should be backed by a slab poolnet/ceph/osd_client.c+2 -20 replies
4/4libceph: enable large, variable-sized OSD requestsdrivers/block/rbd.c include/linux/ceph/osd_client.h net/ceph/osd_client.c+23 -172 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/4] wip-alloc-request

Hello,

This is to replace

40ca9b2c9bbb libceph: enlarge max number of operations in OSD request d0c2fddbf154 libceph: move r_reply_op_{len,result} into struct ceph_osd_req_op 7c6ad0dab79d libceph: allow reserving operations in OSD request

The current solution is clunky: for larger than usual requests, it does two memory allocations instead of one and wastes 3 ops (~500 bytes) of memory for each request. This series fixes both of those.

Thanks,

Ilya

Ilya Dryomov (3):
libceph: rename ceph_osd_req_op::payload_len to indata_len
libceph: osdc->req_mempool should be backed by a slab pool
libceph: enable large, variable-sized OSD requests

Yan, Zheng (1):
libceph: move r_reply_op_{len,result} into struct ceph_osd_req_op

 drivers/block/rbd.c             |  4 +---
 include/linux/ceph/osd_client.h | 13 +++++++----
 net/ceph/osd_client.c           | 52 +++++++++++++++++++++++------------------
 3 files changed, 38 insertions(+), 31 deletions(-)
Signature · 1 line
2.4.3