]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/blkback: make st_ statistics per ring
authorBob Liu <bob.liu@oracle.com>
Tue, 8 Dec 2015 23:44:02 +0000 (07:44 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 10 May 2016 20:28:02 +0000 (22:28 +0200)
commitf4a42b2d81853184792d0cb1d9f62baa19f50c59
tree8626b4d5d9b38d8a03a9a72472251ec0f3b2de5f
parentcffcb636182bd59e73fda34dbceed595017bcf80
xen/blkback: make st_ statistics per ring

Make st_* statistics per ring and the VBD sysfs would iterate over all the
rings.

Note: xenvbd_sysfs_delif() is called in xen_blkbk_remove() before all rings
are torn down, so it's safe.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
v2: Aligned the variables on the same column.
(cherry picked from commit db6fbc106786f26d95889c50c18b1f28aa543a17)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c