diff options
author | Bob Liu <bob.liu@oracle.com> | 2015-11-14 04:12:15 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-04 18:21:05 +0100 |
commit | 597957000ab5b1b38085c20868f3f7b9c305bae5 (patch) | |
tree | 31812106a000a8525483fa14a00531e419acaa4c /drivers/extcon/extcon-usb-gpio.c | |
parent | xen/blkfront: correct setting for xen_blkif_max_ring_order (diff) | |
download | linux-597957000ab5b1b38085c20868f3f7b9c305bae5.tar.xz linux-597957000ab5b1b38085c20868f3f7b9c305bae5.zip |
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 'drivers/extcon/extcon-usb-gpio.c')
0 files changed, 0 insertions, 0 deletions