Searched hist:"4 ce786914b745a144a9eda1ea33f3ff98328c527" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | block.h | diff 4ce786914b745a144a9eda1ea33f3ff98328c527 Thu Oct 24 05:06:54 CDT 2013 Peter Lieven <pl@kamp.de> block: add wrappers for logical block provisioning information
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.
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|
/openbmc/qemu/ |
H A D | block.c | diff 4ce786914b745a144a9eda1ea33f3ff98328c527 Thu Oct 24 05:06:54 CDT 2013 Peter Lieven <pl@kamp.de> block: add wrappers for logical block provisioning information
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.
Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Peter Lieven <pl@kamp.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|