Skip to content
Commit f6e8bd59 authored by Amit Engel's avatar Amit Engel Committed by Christoph Hellwig
Browse files

nvmet: move ka_work initialization to nvmet_alloc_ctrl



Initialize keep-alive work only once, as part of alloc_ctrl
and not each time that nvmet_start_keep_alive_timer is being called

Signed-off-by: default avatarAmit Engel <amit.engel@dell.com>
Reviewed-by: default avatarHou Pu <houpu.main@gmail.com>
parent f1cf35e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment