]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: separate read and write data
authorAlex Elder <elder@inktank.com>
Thu, 14 Feb 2013 18:16:43 +0000 (12:16 -0600)
committerAlex Elder <elder@inktank.com>
Tue, 5 Mar 2013 21:22:57 +0000 (15:22 -0600)
commit7f6346a9f9da2a7d7aa2bdd175a48bb29e9711dd
treed6cf3d7ca0cbef3d00fe7f8d2e424d04151b549e
parentb019f5c5c408b96a583e314a00fb693f004834d8
libceph: separate read and write data

An osd request defines information about where data to be read
should be placed as well as where data to write comes from.
Currently these are represented by common fields.

Keep information about data for writing separate from data to be
read by splitting these into data_in and data_out fields.

This is the key patch in this whole series, in that it actually
identifies which osd requests generate outgoing data and which
generate incoming data.  It's less obvious (currently) that an osd
CALL op generates both outgoing and incoming data; that's the focus
of some upcoming work.

This resolves:
    http://tracker.ceph.com/issues/4127

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c
fs/ceph/addr.c
fs/ceph/file.c
include/linux/ceph/osd_client.h
net/ceph/osd_client.c