Yan Burman 6c2a375768 Merged revisions 5833-5835,5844,5847-5856 via svnmerge from
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/trunk

........
  r5833 | bvassche | 2014-10-07 08:02:20 +0200 (Tue, 07 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5834 | bvassche | 2014-10-10 18:36:24 +0200 (Fri, 10 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5835 | bvassche | 2014-10-10 18:36:59 +0200 (Fri, 10 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5844 | vlnb | 2014-10-17 04:13:17 +0200 (Fri, 17 Oct 2014) | 3 lines
  
  iSER web updates
........
  r5847 | vlnb | 2014-10-17 04:22:23 +0200 (Fri, 17 Oct 2014) | 19 lines
  
  scst_vdisk: Remove a superfluous cast
  
  The 'iov_base' member of 'struct iovec' is declared in
  <uapi/linux/uio.h> with type 'void __user *'. Adding an integer
  to a void pointer has the same effect as adding an integer to
  a char pointer in the C language. This means that it is safe to
  remove the cast in front of the eiv->iov_base pointer.
  
  Please note that a similar construct already exists in the iSCSI
  target driver. From the nthread.c source file:
  
  			iop->iov_base += rest;
  			iop->iov_len -= rest;
  
  This patch does not change any functionality.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5848 | vlnb | 2014-10-17 04:24:07 +0200 (Fri, 17 Oct 2014) | 12 lines
  
  scst_vdisk: Reduce number of casts
  
  Since 'address' points at kernel space memory, change its type
  from uint8_t __user * into uint8_t *. This change reduces the
  number of casts between uint8_t __user * to uint8_t * in
  fileio_exec_write().
  
  This patch does not change any functionality.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5849 | vlnb | 2014-10-17 04:30:12 +0200 (Fri, 17 Oct 2014) | 10 lines
  
  scst_vdisk, MODE SELECT(10): Interpret both bytes of the BLOCK DESCRIPTOR LENGTH field
  
  While the BLOCK DESCRIPTOR LENGTH field spans a single byte in the
  Mode parameter header(6), the size of this field in the Mode parameter
  header(10) is two bytes. Interpret both bytes while executing a MODE
  SELECT(10) command.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5850 | vlnb | 2014-10-17 04:32:28 +0200 (Fri, 17 Oct 2014) | 8 lines
  
  scst/README: Document the lun<X> sysfs attributes
  
  The sessions/<sess>/lun<X> sysfs attribute "active_commands" is not
  yet documented. Hence add documentation for that sysfs attribute.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5851 | vlnb | 2014-10-17 04:35:01 +0200 (Fri, 17 Oct 2014) | 12 lines
  
  scst, iscsi-scst: Add thread_pid attribute
  
  For SCST devices with a short name determining which SCST command
  threads serve a given LUN requires an (expensive) walk of the
  process table. For SCST devices with a long name it is not possible
  to determine unambiguously which command threads serve a given
  LUN. Hence add a thread_pid sysfs attribute that makes it easy to
  figure out which command threads serve a LUN.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r5852 | bvassche | 2014-10-18 10:56:23 +0200 (Sat, 18 Oct 2014) | 5 lines
  
  iscsi-scst: Make iscsi_thread_pool locking more fine-grained
  
  Protect iscsi_thread_pool.threads_list via tp_mutex instead of
  scst_mutex.
........
  r5853 | bvassche | 2014-10-24 09:12:39 +0200 (Fri, 24 Oct 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5854 | bvassche | 2014-11-01 10:30:20 +0200 (Sat, 01 Nov 2014) | 1 line
  
  nightly build: Update kernel versions
........
  r5855 | vlnb | 2014-11-15 03:44:06 +0200 (Sat, 15 Nov 2014) | 3 lines
  
  Ease severity of reporting unsupported REPORT LUNS SELECT REPORT value
........
  r5856 | vlnb | 2014-11-15 03:55:27 +0200 (Sat, 15 Nov 2014) | 3 lines
  
  Report RX data digest failures by default
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5873 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-16 13:51:38 +00:00
2011-04-19 22:56:07 +00:00

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 in qla2x00t/ is the old one, forked from qla2xxx
from kernel 2.6.26. It is not maintained anymore and not built by
default by the common Makefile targets, like "all".

You can find the latest version of this driver in git://git.qlogic.com/scst-qla2xxx.git.
It is now 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. Symlink drivers/scsi/qla2xxx subdirectory in the cloned git tree to the
qla2x00t_git subdirectory

Thats all. Now "make all" and other common and QLA specific root
Makefile targets "magically" start working. For detail instructions how
to setup QLA target build environment see its README or HOWTO.

You can still build the old driver using qla_old* root Makefile targets.

Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
No description provided
Readme 33 MiB
Languages
C 90.1%
Perl 4.2%
Shell 1.8%
HTML 1.7%
Makefile 1.2%
Other 0.9%