rbd: activate support for layered images
authorAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 04:34:40 +0000 (23:34 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:23 +0000 (21:19 -0700)
commit770eba6e295fd36e43881176ee0644b9cc2803f1
tree2aae2f2850f845082ccfb5f07847db8b651525ba
parentcc070d59bc422945f83a89e9d60f749d0f82787d
rbd: activate support for layered images

Now that we have most everything in place to support layered rbd
images, enable support for them in the kernel client.  Issue a
warning to the log that the support is considered experimental
whenever a format 2 layered image is mapped.

Note that we also have to claim to support the STRIPINGV2 feature,
due to a mistake in the way the rbd CLI set up those flags.  This
feature can work if it has the right parameters, and safeguards
have been put in place to reject those images that do not have
compatible parameters.

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