LWN.net Logo

nbd: add support for DISCARD

From:  Paolo Bonzini <pbonzini@redhat.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0/3] nbd: add support for DISCARD
Date:  Wed, 7 Sep 2011 16:41:40 +0200
Message-ID:  <1315406503-7883-1-git-send-email-pbonzini@redhat.com>
Cc:  linux-api@vger.kernel.org, Paul Clements <Paul.Clements@steeleye.com>
Archive-link:  Article, Thread

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

Please consider this for 3.2.

Thanks!

Cc: Paul Clements <Paul.Clements@steeleye.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo Bonzini (3):
  nbd: remove unused flags fields
  nbd: add support for feature negotiation
  nbd: map DISCARD requests to a new nbd request type

 drivers/block/nbd.c |   28 ++++++++++++++++++++--------
 include/linux/nbd.h |   32 ++++++++++++++++++--------------
 2 files changed, 38 insertions(+), 22 deletions(-)

-- 
1.7.6

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

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds