Commit 88d356c
nvme-pci: update sqsize when adjusting the queue depth
Update the core sqsize field in addition to the PCIe-specific
q_depth field as the core tagset allocation helpers rely on it.
Fixes: 0da7fea ("nvme-pci: use the tagset alloc/free helpers")
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent 33b9372 commit 88d356c
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2333 | 2333 | | |
2334 | 2334 | | |
2335 | 2335 | | |
2336 | | - | |
| 2336 | + | |
2337 | 2337 | | |
2338 | | - | |
| 2338 | + | |
| 2339 | + | |
2339 | 2340 | | |
| 2341 | + | |
2340 | 2342 | | |
2341 | 2343 | | |
2342 | 2344 | | |
| |||
2537 | 2539 | | |
2538 | 2540 | | |
2539 | 2541 | | |
2540 | | - | |
2541 | 2542 | | |
2542 | 2543 | | |
2543 | 2544 | | |
| |||
2578 | 2579 | | |
2579 | 2580 | | |
2580 | 2581 | | |
2581 | | - | |
| 2582 | + | |
2582 | 2583 | | |
2583 | 2584 | | |
2584 | 2585 | | |
| |||
0 commit comments