HomeFreeBSD

never retry oustanding requests when terminating iscsi session

Description

never retry oustanding requests when terminating iscsi session

CAM_REQ_ABORTED sounds natural for aborting outstanding requests when
tearing down a session, but that status actually causes eligible
requests to be tried again. That's completely useless, so let's use
CAM_DEV_NOT_THERE instead. Perhaps there is a better status, but this
should be good enough. The change should affect only the session
termination.

Tested by: Ben RUBSON <ben.rubson@gmail.com>
Reviewed by: mav, trasz
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D12653

Details

Provenance
avgAuthored on
Reviewer
mav
Differential Revision
D12653: no need to retry oustanding requests when terminating a session
Parents
rS324693: MFC r324497:
Branches
Unknown
Tags
Unknown