]> git.openfabrics.org - ~emulex/infiniband.git/commit
rbd: support page array image requests
authorAlex Elder <elder@inktank.com>
Fri, 19 Apr 2013 20:34:50 +0000 (15:34 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:11 +0000 (21:19 -0700)
commitf1a4739f333b519fe041e1ad81d9b31c94b9d6a3
treec86ebedf87940ce47adfb79e1370c85d41da1d8d
parentb9434c5b43d1a90e762fe64169862fb198746935
rbd: support page array image requests

This patch adds the ability to build an image request whose data
will be written from or read into memory described by a page array.
(Previously only bio lists were supported.)

Originally this was going to define a new function for this purpose
but it was largely identical to the rbd_img_request_fill_bio().  So
instead, rbd_img_request_fill_bio() has been generalized to handle
both types of image request.

For the moment we still only fill image requests with bio data.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c