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

[Nbd] [PATCH v2 0/2] nbd: add support for DISCARD



This patch series adds support for a DISCARD command in the nbd
protocol.  qemu-nbd will be the first user of the feature.

Thanks!

v1->v2:
        Change ioctl name to NBD_SET_FLAGS and allow passing all
        flags in the network protocol.

Cc: Paul Clements <Paul.Clements@...124...>
Cc: <nbd-general@...72...>
Signed-off-by: Paolo Bonzini <pbonzini@...696...>

Paolo Bonzini (2):
  nbd: add support for feature negotiation
  nbd: map DISCARD requests to a new nbd request type

 drivers/block/nbd.c |   10 ++++++++++++++++++++++--
 include/linux/nbd.h |   28 +++++++++++++++++---------------
 2 files changed, 39 insertions(+), 17 deletions(-)

-- 
1.7.6




Reply to: