mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/trunk
........
r5820 | bvassche | 2014-09-30 13:07:38 +0200 (Tue, 30 Sep 2014) | 4 lines
scst_local: Restore support for detecting LUN 16383 via a sequential scan
Reported-by: Sebastian Herbszt <herbszt@gmx.de>
........
r5821 | vlnb | 2014-10-02 05:19:10 +0200 (Thu, 02 Oct 2014) | 3 lines
Small doc improvements
........
r5827 | bvassche | 2014-10-03 14:23:34 +0200 (Fri, 03 Oct 2014) | 1 line
scripts/generate-kernel-patch: Only generate scst_itf_ver.h if needed
........
r5829 | bvassche | 2014-10-03 14:26:14 +0200 (Fri, 03 Oct 2014) | 20 lines
scst_mem: Fix a memory leak triggered by the scst_user driver
Avoid that the following memory leak can occur:
- sgv_pool_alloc() is called with SGV_POOL_RETURN_OBJ_ON_ALLOC_FAIL
set, with neither SGV_POOL_NO_ALLOC_ON_CACHE_MISS nor
SGV_POOL_ALLOC_NO_CACHED set and with 'size' such that
sgv_max_local_pages < pages_to_alloc <= pool->max_cached_pages.
- sgv_get_obj() and sgv_alloc_arrays() succeed.
- sgv_alloc_sg_entries() fails.
- sgv_get_obj() returns the SGV object with no buffers.
- A call to sgv_pool_free() adds this object to the recycle list.
- sgv_pool_alloc() is called a second time with the same parameters.
- sgv_get_obj() retrieves the object that was previously added to
the recycle list.
- sgv_alloc_arrays() is called and overwrites the obj->sg_entries
pointer although it still points at allocated memory, resulting
in a memory leak.
Reported-by: Shahar Salzman <shahar.salzman@kaminario.com>
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5832 d57e44dd-8a1f-0410-8b47-8ef2f437770f
58 lines
1.9 KiB
Plaintext
58 lines
1.9 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 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
|