WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen-blkfront patches for 2.6.40.

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel