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() -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html