From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: [PATCH] xen-blkfront patches for 2.6.40. Date: Thu, 5 May 2011 14:55:18 -0400 Message-ID: <1304621721-22608-1-git-send-email-konrad.wilk@oracle.com> Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: linux-kernel@vger.kernel.org, jaxboe@fusionio.com, xen-devel@lists.xensource.com Cc: stefano.stabellini@eu.citrix.com, Ian.Campbell@citrix.com, daniel.stodden@citrix.com List-Id: xen-devel@lists.xenproject.org I am proposing these three patches for 2.6.40. [PATCH 1/3] xen-blkfront: fix data size for xenbus_gather in blkfront_connect fixes a bug, while these two: [PATCH 2/3] xen-blkfront: Provide for 'feature-flush-cache' the BLKIF_OP_WRITE_FLUSH_CACHE operation. [PATCH 3/3] xen-blkfront: Introduce BLKIF_OP_FLUSH_DISKCACHE support. Provide the functionality to use the BLKIF_OP_WRITE_FLUSH_CACHE operation, which is negotiated with the backend if the 'feature-flush-cache' is advertised. Currently there are three OSes that advertise this flag: NetBSD 5.1 (and unstable), Linux (devel/xen-blkback-v3.1), and Solaris. I've tested it with success on NetBSD 5.1 Dom0, and with Linux v2.6.39-rc6 with the devel/xen-blkback-v3.1 patches. The git tree with these patches is: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/blkfront drivers/block/xen-blkfront.c | 51 +++++++++++++++++++++++++++---------- include/xen/interface/io/blkif.h | 13 +++++++++ 2 files changed, 50 insertions(+), 14 deletions(-) Konrad Rzeszutek Wilk (2): xen-blkfront: Provide for 'feature-flush-cache' the BLKIF_OP_WRITE_FLUSH_CACHE operation. xen-blkfront: Introduce BLKIF_OP_FLUSH_DISKCACHE support. Marek Marczykowski (1): xen-blkfront: fix data size for xenbus_gather in blkfront_connect