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

[Nbd] [PATCH 0/2] NBD protocol extensions: WRITE_ZEROES and GET_LBA_STATUS



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 <pborzenkov@...2319...>
Signed-off-by: Denis V. Lunev <den@...2317...>
CC: Roman Kagan <rkagan@...2319...>
CC: Wouter Verhelst <w@...112...>
CC: Paolo Bonzini <pbonzini@...696...>
CC: Kevin Wolf <kwolf@...696...>
CC: Stefan Hajnoczi <stefanha@...696...>

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




Reply to: