Skip to content

libceph: tighten up some interfaces

Alex Elder ceph-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libceph: pass length to ceph_osdc_build_request()drivers/block/rbd.c include/linux/ceph/osd_client.h net/ceph/osd_client.c+1 -10 replies
2/4libceph: pass length to ceph_calc_file_object_mapping()fs/ceph/ioctl.c include/linux/ceph/osdmap.h net/ceph/osd_client.c +1 more+5 -30 replies
3/4libceph: drop snapid in ceph_calc_raw_layout()drivers/block/rbd.c include/linux/ceph/osd_client.h net/ceph/osd_client.c+3 -80 replies
4/4libceph: drop osdc from ceph_calc_raw_layout()drivers/block/rbd.c include/linux/ceph/osd_client.h net/ceph/osd_client.c+4 -60 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] libceph: tighten up some interfaces

While investigating exactly how and why rbd uses ceph_calc_raw_layout() I implemented some small changes to some functions to make it obvious to the caller that certain functions won't cause side-effects, or that certain functions do or don't need certain parameters.

-Alex

[PATCH 1/4] libceph: pass length to ceph_osdc_build_request() [PATCH 2/4] libceph: pass length to ceph_calc_file_object_mapping() [PATCH 3/4] libceph: drop snapid in ceph_calc_raw_layout() [PATCH 4/4] libceph: drop osdc from ceph_calc_raw_layout()