mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
8a6877777eeff9912905063251c7615f7ebee8dd
........
r3563 | vlnb | 2011-06-09 21:43:05 -0400 (Thu, 09 Jun 2011) | 3 lines
Web and docs updates
........
r3564 | vlnb | 2011-06-09 22:38:04 -0400 (Thu, 09 Jun 2011) | 36 lines
Currently there are three different init scripts inside the SCST project:
scst, iscsi-scst and qla2x00t. This makes it unnecessary hard for users to
run several target drivers simultaneously. Additionally, several variants of
these init scripts exist for different distributions. This patch unifies all
these init scripts into a single init script. Additionally, some new features
have been added:
- Kernel module parameters can now be specified per kernel module in
/etc/default/scst. An example:
ib_srpt_parameters="thread=1 srp_max_req_size=4200"
- When using the sysfs interface, compute the kernel module list from scst.conf.
Or, editing the SCST_MODULES variable is no longer necessary.
- When using the procfs interface, the SCST handler kernel module list is
computed from /etc/scst.conf. The list of target driver kernel modules must
now be configured in /etc/default/scst.
Other changes:
- scstadmin output is shown if scstadmin fails.
- Running make -C scstadmin install does no longer cause the scst script to
be started at the next reboot - it is better to leave this as an explicit step.
- Made the error message generated if the lsb-core package has not yet been
installed more clear.
- Use proper init script path on Slackware.
- make uninstall: run remove_initd under chroot if $(DESTDIR) is not empty.
- Fixed a bug in "make -C scstadmin uninstall": the path specified for removing
/etc/init.d/scst was wrong.
- The command /etc/init.d/scst restart will only try to start SCST if stopping
succeeded.
- Replaced "mkdir -m 755 -p $(DESTDIR)$(INITDIR)" by
"install -d $(DESTDIR)$(INITDIR)" because of uniformity.
These changes have been tested on Ubuntu 11.04, Fedora 15, CentOS 5.6,
Scientific Linux 6.0, openSUSE 11.4, SLES11 SP1 and Slackware 13.37.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
r3565 | bvassche | 2011-06-10 13:56:56 -0400 (Fri, 10 Jun 2011) | 1 line
Follow-up for r3564: add sample /etc/default/scst file
........
r3566 | bvassche | 2011-06-10 14:03:06 -0400 (Fri, 10 Jun 2011) | 1 line
Slackware: Do not suggest the user to run a script to activate /etc/init.d/scst on boot because such a script does not exist on Slackware.
........
r3567 | bvassche | 2011-06-10 14:03:11 -0400 (Fri, 10 Jun 2011) | 8 lines
More /ec/init.d/scst tuning:
- Works now if the SCST modules have been compiled into the kernel (=Y) instead of being compiled as modules (=M).
- Rename DAEMONS into SCST_DAEMONS.
- Use the same name for loading and removing the iSCSI kernel module (iscsi_scst).
- Set the path after having read /lib/lsb/init-functions instead of before.
- Remove the path from the killall command.
- When parsing /etc/default/scst, handle both parameters with and without embedded spaces correctly.
........
r3568 | bvassche | 2011-06-11 06:26:25 -0400 (Sat, 11 Jun 2011) | 1 line
/etc/init.d/scst: Relax parsing of /etc/scst.conf. Accept sequences of blanks and tabs instead of only spaces when looking for device handler and target driver names.
........
r3569 | bvassche | 2011-06-11 11:55:49 -0400 (Sat, 11 Jun 2011) | 1 line
/etc/init.d/scst: Improved /etc/scst.conf parsing robustness for manually edited scst.conf files
........
r3570 | bvassche | 2011-06-13 08:19:01 -0400 (Mon, 13 Jun 2011) | 2 lines
ib_srpt: Restore timeout handler (reverts r3537).
........
r3571 | bvassche | 2011-06-13 08:22:33 -0400 (Mon, 13 Jun 2011) | 2 lines
ib_srpt: Make srpt_rdy_to_xfer() handle IB send queue overflow correctly.
........
r3572 | bvassche | 2011-06-13 08:26:51 -0400 (Mon, 13 Jun 2011) | 1 line
ib_srpt: Export RDMA channel state to sysfs
........
r3573 | bvassche | 2011-06-13 08:32:10 -0400 (Mon, 13 Jun 2011) | 1 line
ib_srpt: Disable IB completion notifcations after having received the LAST_WQE notification / show how many SCST commands are still in progress while waiting for session unregistration
........
r3574 | bvassche | 2011-06-13 08:35:41 -0400 (Mon, 13 Jun 2011) | 1 line
ib_srpt: Convert srpt_rdma_ch.sq_wr_avail from an atomic into a spinlock-protected integer
........
r3575 | bvassche | 2011-06-13 08:38:18 -0400 (Mon, 13 Jun 2011) | 1 line
ib_srpt: Internal change to the credit algorithm. No externally observable behavior is changed.
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3576 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%