summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-10-10 12:33:21 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-11 09:44:32 -0800
commit690a2c64c5b550763debf1111720f923e6a42d63 (patch)
tree88b6bc2fb36e599b2690c480d87cb3a24783921e /fs
parent6022736e9bb4ff26f0e5556814aa43c4057e7e86 (diff)
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions