linux/drivers/block/xen-blkback
Bob Liu 597957000a xen/blkback: separate ring information out of struct xen_blkif
Split per ring information to an new structure "xen_blkif_ring", so that one vbd
device can be associated with one or more rings/hardware queues.

Introduce 'pers_gnts_lock' to protect the pool of persistent grants since we
may have multi backend threads.

This patch is a preparation for supporting multi hardware queues/rings.

Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com>
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
v2: Align the variables in the structure.
2016-01-04 12:21:05 -05:00
..
blkback.c xen/blkback: separate ring information out of struct xen_blkif 2016-01-04 12:21:05 -05:00
common.h xen/blkback: separate ring information out of struct xen_blkif 2016-01-04 12:21:05 -05:00
Makefile
xenbus.c xen/blkback: separate ring information out of struct xen_blkif 2016-01-04 12:21:05 -05:00