This patch set adds two new experimental extensions to the NBD protocol:

- WRITE_ZEROES, which describes a command for efficient zeroing of block
  device (or a part of it) without unneeded data transfer;
- GET_LBA_STATUS, which describes a command for quering block allocation
  state and block dirtiness status.

These commands provides minimal set of operations with block device sparness
and are very useful for mirroring and backing up of QEMU block device.

Signed-off-by: Pavel Borzenkov <[email protected]>
Signed-off-by: Denis V. Lunev <[email protected]>
CC: Roman Kagan <[email protected]>
CC: Wouter Verhelst <[email protected]>
CC: Paolo Bonzini <[email protected]>
CC: Kevin Wolf <[email protected]>
CC: Stefan Hajnoczi <[email protected]>

Pavel Borzenkov (2):
  NBD proto: add WRITE_ZEROES extension
  NBD proto: add GET_LBA_STATUS extension

 doc/proto.md | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 121 insertions(+)

-- 
2.1.4


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to