From: Alex Elder <elder@inktank.com>
To: ceph-devel@vger.kernel.org
Subject: More Messenger Patches
Date: Tue, 12 Mar 2013 20:01:33 -0500 [thread overview]
Message-ID: <513FCFED.1080507@inktank.com> (raw)
I'm about to post another set of patches. As usual I've
tried to group them logically, and in this case there are
several single patches.
This series continues moving the messenger toward supporting
multiple chunks of data in a single message. We need this
to support osd client requests which hold multiple osd
operations, having one (or even more than one) separate
pieces of data associated with each. That in turn is
needed to support rbd layering.
Most of this process has been whittling away at the various
ways the messenger represents its data. There were at one
time four distinct ways of representing it, and it was not
clear which were independent or how they interacted. The
logic for handling incoming and outgoing messages was a
little complicated by the presence of these different ways
of representing things.
We now have a unified "ceph_msg_data_item" structure
that represents an abstract chunk of data, in one of
several possible formats. The patches change the code
so data items are used for incoming data, then collapses
them all into a single data item. In the process it
cleans up a bunch of structures and code that have
been superseded by the abstracted way of doing things.
These patches are available on the "review/wip-read-data-items"
branch of the ceph-client git repository.
-Alex
[PATCH] libceph: drop pages parameter
[PATCH] libceph: no outbound zero data
[PATCH] libceph: record residual bytes for all message data types
[PATCH 0/4] libceph: use cursor for incoming data
[PATCH 1/4] libceph: use cursor for bio reads
[PATCH 2/4] libceph: kill ceph message bio_iter, bio_seg
[PATCH 3/4] libceph: use cursor for inbound data pages
[PATCH 4/4] libceph: get rid of read helpers
[PATCH] libceph: collapse all data items into one
[PATCH 0/4] libceph: get rid of ceph_msg_pos
[PATCH 1/4] libceph: use cursor resid for loop condition
[PATCH 2/4] libceph: kill most of ceph_msg_pos
[PATCH 3/4] libceph: kill last of ceph_msg_pos
[PATCH 4/4] libceph: use only ceph_msg_data_advance()
[PATCH] libceph: make message data be a pointer
reply other threads:[~2013-03-13 1:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513FCFED.1080507@inktank.com \
--to=elder@inktank.com \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.