nvme/perf: remove bad warning message
When we specify a queue depth that may be higher than the io_queue_size, we print a warning indicating this. But it was also setting the g_warn flag which would result in this message also getting printed: WARNING: Some requested NVMe devices were skipped But we don't actually skip any SSDs in this case. So remove setting of that flag in this case. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ic63209f1a96990dac9664ce245c6406c37248494 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473064 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
e0a0f90b0f
commit
766ef001f3
@ -695,7 +695,6 @@ register_ns(struct spdk_nvme_ctrlr *ctrlr, struct spdk_nvme_ns *ns)
|
||||
opts.io_queue_size);
|
||||
printf("Consider using lower queue depth or small IO size because "
|
||||
"IO requests may be queued at the NVMe driver.\n");
|
||||
g_warn = true;
|
||||
}
|
||||
/* For requests which have children requests, parent request itself
|
||||
* will also occupy 1 entry.
|
||||
|
Loading…
Reference in New Issue
Block a user