diff options
author | Alex Elder <elder@inktank.com> | 2012-07-03 16:01:19 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 14:30:53 -0500 |
commit | b1b5402aa9c4a9aeb8431886e41b0a1d127318d1 (patch) | |
tree | b1a64ee08e120c156d563ea4eda617463d980b76 /drivers/block/floppy.c | |
parent | 1e1301998ee80d9a8cc09297906293f16f8a6064 (diff) | |
download | blackbird-op-linux-b1b5402aa9c4a9aeb8431886e41b0a1d127318d1.tar.gz blackbird-op-linux-b1b5402aa9c4a9aeb8431886e41b0a1d127318d1.zip |
rbd: get image features for a v2 image
The features values for an rbd format 2 image are fetched from the
server using a "get_features" method. The same method is used for
getting the features for a snapshot, so structure this addition with
a generic helper routine that can get this information for either.
The server will provide two 64-bit feature masks, one representing
the features potentially in use for this image (or its snapshot),
and one representing features that must be supported by the client
in order to work with the image.
For the time being, neither of these is really used so we keep
things simple and just record the first feature vector. Once we
start using these feature masks, what we record and what we expose
to the user will most likely change.
Signed-off-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'drivers/block/floppy.c')
0 files changed, 0 insertions, 0 deletions