linux_dsm_epyc7002/drivers/block/xen-blkback
Konrad Rzeszutek Wilk 5c62cb4860 xen/blkback: Report VBD_WSECT (wr_sect) properly.
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.

CC: stable@kernel.org
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>
2011-10-13 09:48:37 -04:00
..
blkback.c xen/blkback: Report VBD_WSECT (wr_sect) properly. 2011-10-13 09:48:37 -04:00
common.h xen/blkback: Support 'feature-barrier' aka old-style BARRIER requests. 2011-10-13 09:48:36 -04:00
Makefile xen/blkback: Squash vbd.c,interface.c in blkback.c and xenbus.c respectivly. 2011-04-20 11:57:59 -04:00
xenbus.c xen/blkback: Support 'feature-barrier' aka old-style BARRIER requests. 2011-10-13 09:48:36 -04:00