rbd: define image specification structure
authorAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 04:34:41 +0000 (23:34 -0500)
committerAlex Elder <elder@inktank.com>
Tue, 30 Oct 2012 13:34:30 +0000 (08:34 -0500)
commit0d7dbfce9d6e3a57a6946fadf7f92b1792b8acc0
tree09562e469c5ac4b902252eedb8bdcaa78e90e526
parentdc79b113d6db48ee6ee7decf0216feee48757f01
rbd: define image specification structure

Group the fields that uniquely specify an rbd image into a new
reference-counted rbd_spec structure.  This structure will be used
to describe the desired image when mapping an image, and when
probing parent images in layered rbd devices.  Replace the set of
fields in the rbd device structure with a pointer to a dynamically
allocated rbd_spec.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c
This page took 0.039837 seconds and 5 git commands to generate.