2e1dbc4587
When testing whether QoS is enabled, the code previously checked mutable values in the bdev itself. Instead, it needs to check the flag in the channel. Right now, QoS can only be configured statically when the bdev is created. This means that no channels will exist prior to QoS being turned on, which simplifies setting the per-channel flag (only need to set it when a channel is created). Change-Id: I59e56c64c18c262cc2a7f71a6dde8329edb35db7 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/407354 Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>