Commit 4733b65
nvme: start keep-alive after admin queue setup
Setting up I/O queues might take quite some time on larger and/or
busy setups, so KATO might expire before all I/O queues could be
set up.
Fix this by start keep alive from the ->init_ctrl_finish() callback,
and stopping it when calling nvme_cancel_admin_tagset().
Signed-off-by: Hannes Reinecke <hare@suse.de>
Tested-by: Mark O'Donovan <shiftee@posteo.net>
[fixed nvme-fc compile error]
Signed-off-by: Keith Busch <kbusch@kernel.org>1 parent 55adcdb commit 4733b65
2 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
| |||
3200 | 3201 | | |
3201 | 3202 | | |
3202 | 3203 | | |
| 3204 | + | |
| 3205 | + | |
3203 | 3206 | | |
3204 | 3207 | | |
3205 | 3208 | | |
| |||
4346 | 4349 | | |
4347 | 4350 | | |
4348 | 4351 | | |
4349 | | - | |
4350 | 4352 | | |
4351 | 4353 | | |
4352 | 4354 | | |
| |||
4357 | 4359 | | |
4358 | 4360 | | |
4359 | 4361 | | |
4360 | | - | |
4361 | | - | |
4362 | 4362 | | |
4363 | 4363 | | |
4364 | 4364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2530 | 2530 | | |
2531 | 2531 | | |
2532 | 2532 | | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
2533 | 2539 | | |
2534 | 2540 | | |
2535 | 2541 | | |
| |||
0 commit comments