]> git.karo-electronics.de Git - linux-beck.git/commit
libceph: distinguish page and bio requests
authorAlex Elder <elder@inktank.com>
Thu, 14 Feb 2013 18:16:43 +0000 (12:16 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:25 +0000 (21:16 -0700)
commit2ac2b7a6d4976bd6b5dc0751aa77d12d48d3ac4c
treeaf95ff579ab1719871e8678ef530db46514c0eb7
parent2794a82a11cfeae0890741b18b0049ddb55ce646
libceph: distinguish page and bio requests

An osd request uses either pages or a bio list for its data.  Use a
union to record information about the two, and add a data type
tag to select between them.

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