]> git.karo-electronics.de Git - linux-beck.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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Jan 2016 17:21:25 +0000 (12:21 -0500)
commitdb6fbc106786f26d95889c50c18b1f28aa543a17
tree21d9bed91528e2477d4a318556de7afb326dbb6f
parent6cc5683390472c450fd69975d1283db79202667f
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.
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c