RBD image usage with librbd (rbd du)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm working on libvirt again and for volumes libvirt has a 'capacity' and
'allocation'.

Until recently both were set to the size of the RBD image since it was not
possible to fetch the allocation of a image.

We now have 'rbd du' and this uses a librbd call to fetch the real usage of a
image.

What is the best way to fetch the 'allocation' of a RBD image using librbd (C)?
rbd_stat() won't tell and looking through librbd.h I don't know which function
to use.

Thanks,

Wido
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux