[PATCH] xen-blkfront patches for 2.6.40.

From: Konrad Rzeszutek Wilk
Date: Thu May 05 2011 - 15:10:21 EST


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

--
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/