projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4368c39
)
nvme-fc: update tagset nr_hw_queues after queues reinit
author
Sagi Grimberg
<sagi@grimberg.me>
Thu, 29 Jun 2017 08:20:10 +0000
(11:20 +0300)
committer
Sagi Grimberg
<sagi@grimberg.me>
Tue, 4 Jul 2017 06:44:17 +0000
(09:44 +0300)
We might have more/less queues once we reconnect/reset. For
example due to cpu going online/offline or controller constraints.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/fc.c
b/drivers/nvme/host/fc.c
index 996720043b3a0881e8eea40cdcbccd1d4425d456..1e859ee2b56530c9aacff37d47112a18d911fba9 100644
(file)
--- a/
drivers/nvme/host/fc.c
+++ b/
drivers/nvme/host/fc.c
@@
-2279,6
+2279,8
@@
nvme_fc_reinit_io_queues(struct nvme_fc_ctrl *ctrl)
if (ret)
goto out_delete_hw_queues;
+ blk_mq_update_nr_hw_queues(&ctrl->tag_set, nr_io_queues);
+
return 0;
out_delete_hw_queues: