On 10/20/2013 04:42 PM, Peter Lieven wrote: > This adds 2 wrappers to read the unallocated_blocks_are_zero and > can_write_zeroes_with_unmap info from the BDI. The wrappers are > required to check for the existence of a backing_hd and > if the devices are opened with the correct flags. > > Signed-off-by: Peter Lieven > --- > block.c | 30 ++++++++++++++++++++++++++++++ > include/block/block.h | 2 ++ > 2 files changed, 32 insertions(+) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org