diff options
author | James Smart <jsmart2021@gmail.com> | 2017-09-19 14:01:50 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-25 12:42:11 -0600 |
commit | fddc9923c6d41de9fe7b1f323a3cece53e046c88 (patch) | |
tree | 2eb7c2776d6779e8f98e66144a0a3040bbf43187 /fs | |
parent | 6b71f9e1e849f82abb4a8d54ce7f4b1c71f19ac4 (diff) |
nvme-fcloop: fix port deletes and callbacks
Now that there are potentially long delays between when a remoteport or
targetport delete calls is made and when the callback occurs (dev_loss_tmo
timeout), no longer block in the delete routines and move the final nport
puts to the callbacks.
Moved the fcloop_nport_get/put/free routines to avoid forward declarations.
Ensure port_info structs used in registrations are nulled in case fields
are not set (ex: devloss_tmo values).
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions