mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
svn://svn.code.sf.net/p/scst/svn/trunk ........ r6682 | bvassche | 2015-11-12 09:43:26 -0800 (Thu, 12 Nov 2015) | 1 line scst_copy_mgr: Fix indentation ........ r6683 | bvassche | 2015-11-12 10:26:26 -0800 (Thu, 12 Nov 2015) | 8 lines qla2x00t: Suppress a Coverity complaint about a potential buffer overflow Coverity reported the following: Copy into fixed size buffer (STRING_OVERFLOW) fixed_size_dest: You might overrun the 17 byte fixed-size string ha->model_number by copying def without checking the length. ........ r6684 | bvassche | 2015-11-12 10:30:15 -0800 (Thu, 12 Nov 2015) | 1 line qla2x00t: Do not compare an array pointer with NULL ........ r6685 | bvassche | 2015-11-12 10:30:42 -0800 (Thu, 12 Nov 2015) | 1 line qla2x00t: Use strlcpy() instead of strcpy() ........ r6686 | bvassche | 2015-11-12 14:17:59 -0800 (Thu, 12 Nov 2015) | 4 lines scst_lib: Avoid using 64-bit divisions Reported-by: Sebastian Herbszt <herbszt@gmx.de> ........ r6687 | vlnb | 2015-11-12 15:33:45 -0800 (Thu, 12 Nov 2015) | 3 lines Update the root README regarding QLogic target driver ........ r6688 | bvassche | 2015-11-13 08:26:09 -0800 (Fri, 13 Nov 2015) | 8 lines scst: Fix kernel 2.6.36 build Avoid that compilation fails with the following error message: include/linux/slub_def.h:246: error: conflicting types for ‘kmalloc’ include/scst/backport.h:458: error: implicit declaration of function ‘kmalloc’ ........ r6689 | bvassche | 2015-11-13 11:07:10 -0800 (Fri, 13 Nov 2015) | 7 lines scstadmin: Do not try to clear copy manager assignments This patch avoids that the following error message is displayed on the console while "/etc/init.d/scst start" is executed: scst: scst_cm_mgmt:3556:***ERROR***: Device copy_manager_tgt not found ........ r6690 | bvassche | 2015-11-13 13:07:50 -0800 (Fri, 13 Nov 2015) | 1 line scstadmin: Leave out the copy manager from the driver list ........ r6691 | bvassche | 2015-11-13 17:07:27 -0800 (Fri, 13 Nov 2015) | 4 lines scstadmin: Pass $PREFIX to Makefile.PL Signed-off-by: Alexey Mochkin <alukardd@alukardd.org> ........ git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
68 lines
2.4 KiB
Plaintext
68 lines
2.4 KiB
Plaintext
Overview
|
|
========
|
|
|
|
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.
|
|
|
|
|
|
QLogic target driver
|
|
====================
|
|
|
|
QLogic target driver qla2x00t is the old driver, forked from qla2xxx
|
|
several years ago. It is very stable, well tested and actively used in
|
|
many production setups. The ultimate goal is to have the mainstream
|
|
(git) QLogic target driver to be the main and the only QLogic target
|
|
driver, but, unfortunately, this driver not yet reached level of quality
|
|
and maturity of qla2x00t. We with QLogic are working toward it.
|
|
|
|
You can find the latest version of the git driver in git://git.qlogic.com/scst-qla2xxx.git.
|
|
It is maintained by QLogic, hence located in the QLogic's git.
|
|
|
|
To integrate it into the SCST build tree you need:
|
|
|
|
1. Clone the QLogic git tree somewhere in your system.
|
|
|
|
2. Create in the SCST root, i.e. this directory, a subdirectory with name
|
|
qla2x00t_git
|
|
|
|
3. Optional for the in-tree build: symlink drivers/scsi/qla2xxx
|
|
subdirectory in the cloned git tree to the qla2x00t_git subdirectory
|
|
|
|
Thats all. Now common and QLA specific root Makefile targets "magically"
|
|
start working with the new driver.
|
|
|
|
For detail instructions how to setup QLA target build environment see
|
|
its README or HOWTO. Run either "make all" to build the SCST core and
|
|
all target drivers with in-tree QLogic drivers, or the following command
|
|
with standalone QLogic drivers:
|
|
|
|
BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y CONFIG_SCSI_QLA2XXX_TARGET=y make all
|
|
|
|
In presence of qla2x00t_git subdirectory you can still build the
|
|
qla2x00t using qla_old* root Makefile targets.
|
|
|
|
Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
|