summaryrefslogtreecommitdiffstats
path: root/drivers/block/ub.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-07-03 23:01:19 +0200
committerAlex Elder <elder@inktank.com>2012-10-01 21:30:53 +0200
commit9d475de5d12af8ac4c2101807e0a889ac7389c5a (patch)
treeaa0a4e6246ed6f1d9fbcf4d536f6ff448146c98a /drivers/block/ub.c
parentrbd: lay out header probe infrastructure (diff)
downloadlinux-9d475de5d12af8ac4c2101807e0a889ac7389c5a.tar.xz
linux-9d475de5d12af8ac4c2101807e0a889ac7389c5a.zip
rbd: add code to get the size of a v2 rbd image
The size of an rbd format 2 image is fetched from the server using a "get_size" method. The same method is used for getting the size of a snapshot, so structure this addition with a generic helper routine that we can get this information for either. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/ub.c')
0 files changed, 0 insertions, 0 deletions