numam-spdk/lib/bdev
Tomasz Zawadzki cfc0fbf11e bdev: fix error path for allocating qos paramters
Every exit path in spdk_bdev_set_qos_rate_limits() should
go through _spdk_bdev_set_qos_limit_done() as soon as
ctx is allocated and qos_mod_in_progress set to true.

This patch fixes one path were it did not occur.
With this change qos_mod_in_progress is set to false,
when failure in allocating qos parameters occurs.

Change-Id: I04a45dfdcde9160fd2701b44f5fde26fb0245177
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465659
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-08-23 17:31:52 +00:00
..
bdev_rpc.c lib: move bdev_rpc under lib/bdev 2019-08-19 06:10:30 +00:00
bdev.c bdev: fix error path for allocating qos paramters 2019-08-23 17:31:52 +00:00
Makefile mk: move the bdev modules under module directory. 2019-08-22 16:29:49 +00:00
part.c bdev/part: Remap DIF reference tag for read/write I/O 2019-07-11 11:14:22 +00:00
scsi_nvme.c nvme: fix WRITE_TO_RO_RANGE status code 2019-08-14 02:19:49 +00:00
vtune.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00