diff options
author | Bob Liu <bob.liu@oracle.com> | 2015-11-14 04:12:13 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-04 18:21:01 +0100 |
commit | 11659569f7202d0cb6553e81f9b8aa04dfeb94ce (patch) | |
tree | 2fa7cecbf25a733fe2a2d0f15d29e6a0120d2726 /sound/isa/galaxy | |
parent | xen/blkfront: pseudo support for multi hardware queues/rings (diff) | |
download | linux-11659569f7202d0cb6553e81f9b8aa04dfeb94ce.tar.xz linux-11659569f7202d0cb6553e81f9b8aa04dfeb94ce.zip |
xen/blkfront: split per device io_lock
After patch "xen/blkfront: separate per ring information out of device
info", per-ring data is protected by a per-device lock ('io_lock').
This is not a good way and will effect the scalability, so introduce a
per-ring lock ('ring_lock').
The old 'io_lock' is renamed to 'dev_lock' which protects the ->grants list and
->persistent_gnts_c which are shared by all rings.
Note that in 'blkfront_probe' the 'blkfront_info' is setup via kzalloc
so setting ->persistent_gnts_c to zero is not needed.
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'sound/isa/galaxy')
0 files changed, 0 insertions, 0 deletions