aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid.h
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:37:07 -0800
commit9ad93ba528bf5555a96ef64b7ec1af398277ad52 (patch)
treefab33a1ec9da605fe2ee1541da5dbda51908063c /drivers/scsi/megaraid.h
parentf53881e6463124c910b17a5ea722a5cf5ab67fb3 (diff)
downloadkernel_samsung_smdk4412-9ad93ba528bf5555a96ef64b7ec1af398277ad52.tar.gz
kernel_samsung_smdk4412-9ad93ba528bf5555a96ef64b7ec1af398277ad52.tar.bz2
kernel_samsung_smdk4412-9ad93ba528bf5555a96ef64b7ec1af398277ad52.zip
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 'drivers/scsi/megaraid.h')
0 files changed, 0 insertions, 0 deletions