rbd: support reading parent page data for writes
authorAlex Elder <elder@inktank.com>
Fri, 10 May 2013 21:29:22 +0000 (16:29 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 13 May 2013 19:12:40 +0000 (14:12 -0500)
commitb91f09f17b2a302f07022e2f766969e2536d71b3
treeeb26ac4e2aa995cf45c2c6bdbbd4d62b49f1dc24
parentebda6408f2227a774343c3cc2861384942143ff3
rbd: support reading parent page data for writes

Currently, rbd_img_obj_parent_read_full() assumes the incoming
object request contains bio data.  But if a layered image is part of
a multi-layer stack of images it will result in read requests of
page data to parent images.

This is handling the same kind of issue as was resolved by this
commit:
    5b2ab72d  rbd: support reading parent page data

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

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