• James Smart's avatar
    nvme-fc: remove nvme_fc_terminate_io() · ac9b820e
    James Smart authored
    __nvme_fc_terminate_io() is now called by only 1 place, in reset_work.
    Consoldate and move the functionality of terminate_io into reset_work.
    
    In reset_work, rather than calling the create_association directly,
    schedule the connect work element to do its thing. After scheduling,
    flush the connect work element to continue with semantic of not
    returning until connect has been attempted at least once.
    Signed-off-by: default avatarJames Smart <james.smart@broadcom.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    ac9b820e
fc.c 105 KB