Spdk/test/unit/lib/bdev
Daniel Verkamp d4ef1338b0 bdev: make QoS channel management thread safe
We must hold bdev->mutex around all QoS channel manipulations, not just
channel_count; otherwise, there are race conditions.

Change-Id: I6183aef83f4d5789bded426a1832e3faaa688363
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/403367
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-03-13 14:06:23 -04:00
..
bdev.c bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
gpt test: use spdk.unittest.mk in bdev unit tests 2018-02-14 11:07:05 -05:00
mt bdev: make QoS channel management thread safe 2018-03-13 14:06:23 -04:00
part.c bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
pmem bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
scsi_nvme.c test: use spdk.unittest.mk in bdev unit tests 2018-02-14 11:07:05 -05:00
vbdev_lvol.c bdev: rename spdk_bdev_module_if -> spdk_bdev_module 2018-03-13 00:55:12 -04:00
Makefile bdev: move part helper code into its own file 2018-02-27 12:36:26 -05:00