Konrad Rzeszutek Wilk 690a2c64c5 xen/blkback: Report VBD_WSECT (wr_sect) properly.
commit 5c62cb48602dba95159c81ffeca179d3852e25be upstream.

We did not increment the amount of sectors written to disk
b/c we tested for the == WRITE which is incorrect - as the
operations are more of WRITE_FLUSH, WRITE_ODIRECT. This patch
fixes it by doing a & WRITE check.

Reported-by: Andy Burns <xen.lists@burns.me.uk>
Suggested-by: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-11 09:44:32 -08:00
..
2011-05-26 21:06:50 +02:00
2011-07-26 16:49:47 -07:00
2011-03-10 08:52:07 +01:00
2009-03-26 21:15:27 +01:00
2011-03-31 11:26:23 -03:00
2008-10-21 07:48:11 -04:00