diff options
author | James Smart <jsmart2021@gmail.com> | 2017-06-01 22:54:21 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-07 11:08:52 +0200 |
commit | f874d5d079ec35158fa1a1509554c9d641bd5770 (patch) | |
tree | e689eaa2640cb8fd247e15422b7008cb7bbb3271 /drivers/scsi/gdth_proc.h | |
parent | e818a5b487fea20494b0e48548c1085634abdc0d (diff) |
nvme-fc: on lldd/transport io error, terminate association
Per FC-NVME, when lldd or transport detects an i/o error, the
connection must be terminated, which in turn requires the association
to be termianted. Currently the transport simply creates a nvme
completion status of transport error and returns the io. The FC-NVME
spec makes the mandate as initiator and host, depending on the error,
can get out of sync on outstanding io counts (sqhd/sqtail).
Implement the association teardown on lldd or transport detected
errors.
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/scsi/gdth_proc.h')
0 files changed, 0 insertions, 0 deletions