diff options
author | Bob Liu <bob.liu@oracle.com> | 2015-11-14 11:12:15 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-04 12:21:05 -0500 |
commit | 597957000ab5b1b38085c20868f3f7b9c305bae5 (patch) | |
tree | 31812106a000a8525483fa14a00531e419acaa4c /kernel/locking | |
parent | 45fc82642e54018740a25444d1165901501b601b (diff) | |
download | linux-597957000ab5b1b38085c20868f3f7b9c305bae5.tar.bz2 |
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.
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions