]> git.baikalelectronics.ru Git - kernel.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)
commitadac813fe74ce943893df744b6f3aebf23b8af58
treeaf95ff579ab1719871e8678ef530db46514c0eb7
parent3242bc0afa92319f53b13ebc0d5234cb657b483b
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