Files
linux/drivers/block
Christoph Hellwig 438cd318c8 nbd: only return usable devices from nbd_find_unused
Device marked as NBD_DESTROY_ON_DISCONNECT can and should be skipped
given that they won't survive the disconnect.  So skip them and try
to grab a reference directly and just continue if the the devices
is being torn down or created and thus has a zero refcount.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210825163108.50713-6-hch@lst.de
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-08-25 14:20:29 -06:00
..
2021-08-02 13:37:29 -06:00
2021-06-29 10:53:50 -07:00
2021-03-24 06:57:40 -06:00
2021-06-01 07:42:24 -06:00
2021-06-30 15:34:19 -06:00
2021-08-02 13:37:27 -06:00
2021-08-02 13:37:27 -06:00
2021-06-11 11:53:02 -06:00
2021-06-11 11:53:03 -06:00