]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: add an rbd features field
authorAlex Elder <elder@inktank.com>
Sat, 14 Jul 2012 01:35:12 +0000 (20:35 -0500)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 19:30:53 +0000 (14:30 -0500)
commit06a5d205273cc2d3abd00b7dc7e2a40a1cd5bdf3
tree9b2d05e1eb17949ee642fb7893cd36f3c478d9db
parent711c62b75abb03640edff9e2b435821bc39b042e
rbd: add an rbd features field

Record the features values for each rbd image and each of its
snapshots.  This is really something that only becomes meaningful
for version 2 images, so this is just putting in place code
that will form common infrastructure.

It may be useful to expand the sysfs entries--and therefore the
information we maintain--for the image and for each snapshot.
But I'm going to hold off doing that until we start making
active use of the feature bits.

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