Skip to content

ceph: a few more messenger cleanups

Alex Elder ceph-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6libceph: encapsulate out message data setupnet/ceph/messenger.c+22 -140 replies
2/6libceph: encapsulate advancing msg pagenet/ceph/messenger.c+1 -00 replies
3/6libceph: don't mark footer complete before it isnet/ceph/messenger.c+3 -10 replies
4/6libceph: move init_bio_*() functions upnet/ceph/messenger.c+25 -250 replies
5/6libceph: move init of bio_iternet/ceph/messenger.c+4 -50 replies
6/6libceph: don't use bio_iter as a flagnet/ceph/messenger.c+1 -50 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/6] ceph: a few more messenger cleanups

Here are a few more messenger cleanup patches.

[PATCH 1/6] libceph: encapsulate out message data setup [PATCH 2/6] libceph: encapsulate advancing msg page
These two encapsulate some code involved in sending message data into separate functions.
[PATCH 3/6] libceph: don't mark footer complete before it is
This moves the setting of the "FOOTER_COMPLETE" flag so that it doesn't get done until the footer really is complete.
[PATCH 4/6] libceph: move init_bio_*() functions up
This simply moves two functions, preparing for the next patch.
[PATCH 5/6] libceph: move init of bio_iter
This makes a message's bio_iter field get initialized when the rest of the message is initialized, rather than conditionally every time any attempt is made to send message data.
[PATCH 6/6] libceph: don't use bio_iter as a flag
Because bio_iter is now initialized in the "right" place we no longer need to use its value as a flag to determine whether it needs initialization.

-Alex