The trail portion of message data was added to support
two distinct sets of data for an osd request--one a
pagelist for providing parameters to object method
calls; and a second a page array for receiving data
back from the result of such a call.

It's always been a bit of a weird thing bolted onto
a message though, and with the rework of the messenger
code it can now be removed.

This series eliminates the trail by allowing the osd
client to record a (non-trail) pagelist for data, and
using the fact that we now distinguish incoming from
outgoing data to allow that to be specified distinct
from the page array used for the incoming response.

Having done this, we can eliminate the trail from the
ceph message structure, and then that allows some
code to be simplified.

These patches are available in the "review/wip-kill-trail"
branch of the ceph-client git repository.  That branch
is based on branch "review/wip-cursor".

                                        -Alex

[PATCH 1/4] libceph: have osd requests support pagelist data
[PATCH 2/4] libceph: kill osd request r_trail
[PATCH 3/4] libceph: kill message trail
[PATCH 4/4] libceph: more cleanup of write_partial_msg_pages()

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to