nvmf: fix keep alive poller
Return SPDK_POLLER_IDLE if we didn't disable any controllers. Signed-off-by: John Levon <john.levon@nutanix.com> Change-Id: Ie16301c6e5f3f7e3f4b46906a95ef214674f4af8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8560 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
d6e0bbee39
commit
6ec5e75ae4
@ -197,10 +197,11 @@ nvmf_ctrlr_keep_alive_poll(void *ctx)
|
||||
nvmf_ctrlr_disconnect_qpairs_on_pg,
|
||||
ctrlr,
|
||||
nvmf_ctrlr_disconnect_qpairs_done);
|
||||
return SPDK_POLLER_BUSY;
|
||||
}
|
||||
}
|
||||
|
||||
return SPDK_POLLER_BUSY;
|
||||
return SPDK_POLLER_IDLE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user