[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Fwd: xentop reporting zero written sectors
On 13 October 2011 22:10, Andy Burns <xen.lists@xxxxxxxxxxx> wrote: > On 10 October 2011 17:31, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > wrote: > >> I think this new "feature" below will fix it for you: > What kernel version is that patch based on? I did eventually build a kernel with a lightly tweaked version of that patch, to allow for Fedora's patched vanilla 3.0 plus rc9 patches my VBD_WSECT counters are now merricly clocking up, so feel free to add Acked-by: Andy Burns <andy@xxxxxxxxx> --- a/drivers/block/xen-blkback/blkback.c --- b/drivers/block/xen-blkback/blkback.c @@ -685,7 +685,7 @@ if (operation == READ) blkif->st_rd_sect += preq.nr_sects; - else if (operation == WRITE || operation == WRITE_FLUSH) + else if (operation == WRITE_ODIRECT || operation == WRITE_FLUSH) blkif->st_wr_sect += preq.nr_sects; return 0; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |