]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When reporting some major UNIT ATTENTION condition, like POWER ON OCCURRED
authorAlexander Motin <mav@FreeBSD.org>
Tue, 23 Sep 2014 20:35:48 +0000 (20:35 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 23 Sep 2014 20:35:48 +0000 (20:35 +0000)
commit8f07b2d523e5fd1e6fa79a0cc48a6cd3d0c147c7
tree4b42672f9c74fbd3b621aa3739b10bd3330d4e84
parent2c048c4aa679f2367d6c3235c7706a0c0450375e
When reporting some major UNIT ATTENTION condition, like POWER ON OCCURRED
or I_T NEXUS LOSS, clear all minor UAs for the LUN, redundant in this case.

All SAM specifications tell that target MAY do it, but libiscsi initiator
seems require it to be done, terminating connection with error if some more
UAs happen to be reported during iSCSI connection.

MFC after: 3 days
sys/cam/ctl/ctl.c
sys/cam/ctl/ctl.h
sys/cam/ctl/ctl_error.c
sys/cam/ctl/ctl_error.h