[PATCH] rvmet-fcloop: Remove remote port from list when unlinking

Daniel Wagner dwagner at suse.de
Tue Apr 11 03:09:32 PDT 2023


On Tue, Apr 11, 2023 at 11:22:09AM +0200, Daniel Wagner wrote:
> The remote port is never removed from fcloop_nports list. During module
> unloading it's possible to end up an busy loop in fcloop_exit, because
> the remote port is found in the list and thus we will never progress.
> 
> The kernel log will be spammed with
> 
>   nvme_fcloop: fcloop_exit: Failed deleting remote port
>   nvme_fcloop: fcloop_exit: Failed deleting target port
> 
> Signed-off-by: Daniel Wagner <dwagner at suse.de>
> ---

Found a bunch more problems which need to be addressed. I'll collect all
changes and send them as series.



More information about the Linux-nvme mailing list