]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme_fc: on remoteport reuse, set new nport_id and role.
authorJames Smart <jsmart2021@gmail.com>
Tue, 6 Mar 2018 04:55:49 +0000 (20:55 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Mar 2018 14:53:43 +0000 (08:53 -0600)
commit0cdd5fca876b1e9c56ca01186ba650b680248b35
tree187650f01447c052f2ad936b7ecee58ae97cb7b4
parentb12740d316fa89f3f6191b71f986cf3b9383d379
nvme_fc: on remoteport reuse, set new nport_id and role.

When reattaching to a removed remoteport that has not yet been
fully deleted as it's waiting for reconnect timeouts, be sure to
re-set the ports nport id and role.

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fc.c