mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
891c7d5b03f6a7979e96cbdfc5b84af7414b5209
In case if ELS LOGO command received on the target port, the firmware can notify the driver about it in 3 different ways, which handled differently by the driver (it doesn't clear when it use each way): 1. Immediate notify of login-affecting ELS command received (status code 0x46). The target driver terminate all commands received for the specified initiator (N_Port handle). 2. Asynchroneus event of port update. The target driver only print message, and in remark it's written that /* .mark_all_devices_lost() is handled by the initiator driver */ 3. Immediate notify of port logged out (status code 0x29). The target driver terminate all commands received for the specified initiator (N_Port handle), and also mark all devices as lost. In 1 and 2 everthing is OK. In 3 the target driver mark all devices as lost, but never retrigger rescanning. There are 2 solutions: 1. Not marking the devices as lost base on written in the async event case, and also base on the spec which says to only terminate all commands. 2. Mark all devices as lost and retrigger rescanning. 1 was implemented; delete all calls to mark_all_devices_lost() in qla2x00t.c, and unexport symbol of this function in qla_os.c Signed-off-by: Gal Rosen <galr@storwize.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1844 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This is the SCST development repository. It contains not a single project SCST as one can think, but a number of them, which are divided as the following: 1. SCST core in scst/ subdirectory 2. Administration utility for SCST core scstadmin in scstadmin/ 3. Target drivers in own subdirectories qla2x00t/, iscsi-scst/, etc. 4. User space programs in usr/ subdirectory, like fileio_tgt. 5. Some various docs in doc/ subdirectory. Those subprojects are in most cases independent from each other, although some of them depend from the SCST core. They put in the single repository only to simplify their development, they are released independently. Thus, use "make all" only if you really need to build everything. Otherwise build only what you need, like for iSCSI-SCST: make scst scst_install iscsi iscsi_install For more information about each subproject see their README files. Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%