[PATCH blktests v1 4/5] nvme/rc: do not issue errors when disconnecting when using fc transport

Daniel Wagner dwagner at suse.de
Wed Feb 7 00:25:09 PST 2024


On Tue, Feb 06, 2024 at 11:09:56PM +0000, Chaitanya Kulkarni wrote:
> > -			_nvme_disconnect_ctrl "${dev}"
> > +			_nvme_disconnect_ctrl "${dev}" 2>/dev/null
> 
> will this only happen for discovery controller or non-discovery
> controllers also ?

The global cleanup code disconnects all controllers. Another option
would be that we ditch the global cleanup code because every test is
already removing all resources it creates. This would also make blktests
play a bit nicer. But this is how it is currently done for all
transport.



More information about the Linux-nvme mailing list