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

From: Paolo Bonzini
Date: Thu Sep 08 2011 - 03:45:20 EST


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@xxxxxxxxxxxx>
Cc: <nbd-general@xxxxxxxxxxxx>
Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/