Skip to content

libceph: focus calc_layout() on filling in the osd op

Alex Elder ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libceph: pass object number back to calc_layout() callernet/ceph/osd_client.c+4 -50 replies
2/3libceph: format target object name in callernet/ceph/osd_client.c+1 -60 replies
3/3libceph: don't pass request to calc_layout()net/ceph/osd_client.c+0 -10 replies

Reviews trailers per patch

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

PatchJosh Durgin
SeriesR-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] libceph: focus calc_layout() on filling in the osd op

This series refactors the code involved with identifying the details of the name, offset, and length of an object involved with an osd request based on a file layout. It makes the focus of calc_layout() be filling in an osd op structure based on the file layout it is provided. The caller (ceph_osdc_new_request()) is then responsible for filling in fields related to the request, such as the name of the target object.

-Alex

[PATCH 1/3] libceph: pass object number back to calc_layout() caller [PATCH 2/3] libceph: format target object name in caller [PATCH 3/3] libceph: don't pass request to calc_layout()