From: Olaf Hering Subject: [PATCH RESEND 0/3] xen-block: changes for discard support Date: Wed, 21 May 2014 16:32:39 +0200 Message-ID: <1400682762-17429-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: konrad.wilk@oracle.com Cc: boris.ostrovsky@oracle.com, david.vrabel@citrix.com, Olaf Hering , linux-kernel@vger.kernel.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Fix blkfront to handle all sorts of backends. Also let blkback recognize a xenstore property to disable discard for a given device. This part requires libxl changes ("discard-enable"): http://lists.xenproject.org/archives/html/xen-devel/2014-05/msg02291.html (This is a resend, this series was already sent 2014-02-10.) Olaf Hering (3): xen-blkfront: remove type check from blkfront_setup_discard xen blkif.h: fix comment typo in discard-alignment xen/blkback: disable discard feature if requested by toolstack drivers/block/xen-blkback/xenbus.c | 7 ++++++- drivers/block/xen-blkfront.c | 40 +++++++++++++------------------------- include/xen/interface/io/blkif.h | 2 +- 3 files changed, 21 insertions(+), 28 deletions(-)