| ad10496c | 17-Oct-2017 |
Andriy Gapon <[email protected]> |
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
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 <[email protected]> Reviewed by: mav, trasz MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D12653
show more ...
|
| 33d9db92 | 14-Feb-2017 |
Alexander Motin <[email protected]> |
Directly call m_gethdr() instead of m_getm2() for BHS.
All this code is based on assumption that data will be stored in one piece, and since buffer size if known and fixed, it is easier to hardcode
Directly call m_gethdr() instead of m_getm2() for BHS.
All this code is based on assumption that data will be stored in one piece, and since buffer size if known and fixed, it is easier to hardcode it.
MFC after: 2 weeks
show more ...
|