vlnb [Fri, 8 May 2009 17:38:12 +0000 (17:38 +0000)]
Small web mistake fixed
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@829
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 8 May 2009 17:35:44 +0000 (17:35 +0000)]
Web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@828
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 8 May 2009 10:35:24 +0000 (10:35 +0000)]
Patch from frank zago <fzago@systemfabricworks.com> with some modifications. It exposes scst parameters scst_max_cmd_mem and scst_max_dev_cmd_mem as well as vdisk's parameters num_threads and scst_vdisk_ID visible through /sys/module/scst and /sys/module/scst_vdisk correspondingly.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@827
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
andyysj [Fri, 8 May 2009 05:40:38 +0000 (05:40 +0000)]
1. Fixed bug - Task frame type setting.
2. Dead lock risk.
3. Null pointer may be used.
4. Alignment issue
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@826
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
zorko [Thu, 7 May 2009 01:52:56 +0000 (01:52 +0000)]
A lot of microchanges, but actually this means that the FreeBSD port,
the SCST port, and the non-SCST Feral port are all more or less in
sync. And apparently somewhat functional.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@825
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 5 May 2009 18:58:06 +0000 (18:58 +0000)]
Unfortunately the latest InfiniBand software is not included in Linux
distributions but must be installed separately via the OFED package. The patch
below makes it easier to compile SCST-SRPT with the OFED kernel headers by
disabling the backported <linux/scatterlist.h> macro's when compiling with
OFED kernel headers. OFED namely has its own set of backported macro's. OFED
kernel headers are detected via the preprocessor symbol
__BACKPORT_LINUX_SCATTERLIST_H_TO_2_6_23__, which is defined in the OFED
header file <linux/scatterlist.h> only. This patch does not have any effect
when compiling SCST on a system where OFED has not been installed.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@824
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 4 May 2009 20:03:48 +0000 (20:03 +0000)]
Added the equivalent of #undef BACKPORT_LINUX_WORKQUEUE_TO_2_6_19.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@823
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 4 May 2009 20:02:30 +0000 (20:02 +0000)]
Removed one OFED installation test because on some distro's it triggers false complaints.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@822
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 4 May 2009 19:07:22 +0000 (19:07 +0000)]
Fixed checkpatch complaints about whitespace (indentation should use tabs / trailing whitespace).
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@821
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 4 May 2009 18:57:04 +0000 (18:57 +0000)]
ib_srpt.c compiles now on RHEL 5.x systems where OFED has been installed.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@820
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 4 May 2009 18:55:50 +0000 (18:55 +0000)]
Prepend the OFED kernel header paths before the regular kernel header path when compiling on a system where OFED has been installed.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@819
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 4 May 2009 12:06:40 +0000 (12:06 +0000)]
Updated kernel versions to latest stable kernels.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@818
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 2 May 2009 12:38:33 +0000 (12:38 +0000)]
- Removed comments that referred to the 2.4 module build system.
- Simplified this Makefile: the target all now directly refers to
src/Module.symvers. Removed the phony target Module.symvers.
- An error message is now printed if OFED has been built with srpt=y.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@817
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 1 May 2009 19:26:10 +0000 (19:26 +0000)]
- Cleanups and improvements in handling various special commands properties
- REQUEST SENSE handling improved
- READ CAPACITY(16) handling improved
- New write_medium member added to scst_user's scst_user_scsi_cmd_reply_parse
- scst_user docs updated
- Other minot cleanups
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@816
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Fri, 1 May 2009 19:12:14 +0000 (19:12 +0000)]
Made building against OFED more robust.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@815
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Fri, 1 May 2009 09:24:47 +0000 (09:24 +0000)]
Added support for compiling scst-srpt on a system where the OFED InfiniBand
kernel modules have been installed.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@814
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 29 Apr 2009 11:29:51 +0000 (11:29 +0000)]
- Fixes incorrect initiators.allow matching. Reported and tested by Dimitri Puzin <max@psycast.de>.
- Fixes handling of tab character during parsing of initiators.allow and initiators.deny files
- IET part of the version updated
- TAGS updated
- Comments in scst_targ.c about long ago gone scst_unregister_session_ex() fixed
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@812
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 29 Apr 2009 11:12:43 +0000 (11:12 +0000)]
Cersions and web updated
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@811
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 28 Apr 2009 18:11:36 +0000 (18:11 +0000)]
Web updates, Piwik code added
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@810
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Tue, 28 Apr 2009 11:04:07 +0000 (11:04 +0000)]
Report a skipped nightly build in a status file instead of by echoing text, such that the cron e-mail reporting is not triggered by skipped nightly builds.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@809
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Tue, 28 Apr 2009 11:02:48 +0000 (11:02 +0000)]
Switched from 2.6.29.1 to 2.6.29.2.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@808
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 27 Apr 2009 21:01:09 +0000 (21:01 +0000)]
Web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@807
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
mgandalf [Mon, 27 Apr 2009 19:53:10 +0000 (19:53 +0000)]
- Minor change - Change 'since' to 'for' in ChangeLog so the version isn't misleading.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@806
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 27 Apr 2009 19:01:28 +0000 (19:01 +0000)]
- Copyrights updated.
- Other minor updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@803
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 26 Apr 2009 18:06:10 +0000 (18:06 +0000)]
Modified a two-line preprocessor statement into a single-line statement and added a comment that explains why this has been done.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@801
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 26 Apr 2009 09:10:52 +0000 (09:10 +0000)]
The function srpt_cm_req_recv() now returns an error code instead of 0
when an SRP login request is rejected. This fixes a memory leak: the
InfiniBand core (drivers/infiniband/core/cm.c) only calls cm_free_work()
when the registered cm_handler function, i.e. srpt_cm_req_recv()
returns an error code. This patch has been submitted by by Frank Zago.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@800
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 26 Apr 2009 08:39:06 +0000 (08:39 +0000)]
Made show_login_info() work for InfiniBand HCA's with more than two
ports. show_login_info() produces the information that can be retrieved
from /sys/class/infiniband_srpt/srpt-*/login_info. Note: as of today
there do not yet exist any InfiniBand HCA's with more than two ports.
Thanks to Frank Zago for reporting this issue.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@799
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 24 Apr 2009 18:56:32 +0000 (18:56 +0000)]
Compatibility patch for pre-2.6.26 kernels added
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@798
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 24 Apr 2009 13:16:38 +0000 (13:16 +0000)]
- Fixes BUG: scheduling while atomic
- Removes nested allocation, because MAX_LOCKDEP_SUBCLASSES isn't sufficiently high in many cases
- Size for mempools for UAs and sense buffers
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@796
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
swgruszka [Thu, 23 Apr 2009 19:52:51 +0000 (19:52 +0000)]
Reapply r689 (dropped in r742) to fix CentOS compilation. Thanks Smadar Gonen.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@795
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
swgruszka [Thu, 23 Apr 2009 19:37:40 +0000 (19:37 +0000)]
Rewrite way we disable target. We need to care for pending commands to free all
resources when user disable target mode. Currently we block receiving any new
commands from low level driver, wait for SCST to finish processing all queued
commands and then disable target mode in the device. This way we cope with all
possible races and lacks when target is disabled. Thanks to Smadar Gonen!
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@794
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 21 Apr 2009 18:25:46 +0000 (18:25 +0000)]
We can't mark sess as shutting down in close_conn(), because at that time it might have pending commands. Otherwise, in case of reinstatement it might lead to data corruption, because commands in being reinstated session can be executed after commands in the new session.
Found out by Hari Subramanian <hari@vmware.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@792
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 20 Apr 2009 20:32:13 +0000 (20:32 +0000)]
Patches from Bart Van Assche <bart.vanassche@gmail.com>:
- Fix for trailing whitespaces
- Fix for an error in the iSCSI-SCST howto document.
- Make SCST compile on RHEL 5.3
+ small qla2x00t README update
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@790
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 20 Apr 2009 10:49:59 +0000 (10:49 +0000)]
Copyrights updated
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@789
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 18 Apr 2009 09:12:39 +0000 (09:12 +0000)]
Bug fix: undefined macro's, e.g. RHEL_RELEASE_CODE, expand to the empty
string. The substitution for RHEL_RELEASE_CODE when it was not defined
was missing.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@788
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
mgandalf [Thu, 16 Apr 2009 17:16:40 +0000 (17:16 +0000)]
- Added -resyncdev option to work with the new SCST resync_size option.
- SCST.pm: Added resyncDevice()
- SCST.pm: General cleanup.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@784
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 16 Apr 2009 13:50:09 +0000 (13:50 +0000)]
Web updates, mostly keywords and titles, thanks to Daniel Fernandes <dfernandes1978@hotmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@783
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
swgruszka [Thu, 16 Apr 2009 11:57:46 +0000 (11:57 +0000)]
Allow to compile with modern gcc-4.x compiler, which make some sophisticated
loop optimizations.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@782
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
zorko [Tue, 14 Apr 2009 22:19:26 +0000 (22:19 +0000)]
A bit of brushing up to put library like functions in isp_library.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@781
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
swgruszka [Tue, 14 Apr 2009 20:25:20 +0000 (20:25 +0000)]
- Disallow to pass command to low level driver when we user is disabling target
mode (protect by disable_sem).
- Fix parentheses in unlikely statement.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@780
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
swgruszka [Tue, 14 Apr 2009 20:18:39 +0000 (20:18 +0000)]
Make debug messages more informative when more than one port are used.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@779
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
mgandalf [Tue, 14 Apr 2009 20:06:27 +0000 (20:06 +0000)]
Small fix..
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@778
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
swgruszka [Tue, 14 Apr 2009 20:05:52 +0000 (20:05 +0000)]
Add firmware state, loop state, topology and link speed human readable
information to procfs.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@777
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 14 Apr 2009 17:50:11 +0000 (17:50 +0000)]
The patch below fixes recently introduced checkpatch complaints on whitespace
and also fixes two (false positive) sparse warnings about uninitialized variables.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@776
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 14 Apr 2009 17:29:23 +0000 (17:29 +0000)]
- Now during connection and session reinstatements only SCSI commands are delayed until the corresponding reinstatement finished.
- TEST UNIT READY made HEAD OF QUEUE to let target don't look dead under high load
- Docs updated
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@774
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 14 Apr 2009 16:31:19 +0000 (16:31 +0000)]
Web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@773
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 14 Apr 2009 16:00:08 +0000 (16:00 +0000)]
Patch from andy yan <andyysj@gmail.com>:
Target driver for Marvell 88SE64xx(3G) and 88SE94xx(6G) SAS cards
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@772
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 14 Apr 2009 15:58:27 +0000 (15:58 +0000)]
Web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@771
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 14 Apr 2009 12:34:35 +0000 (12:34 +0000)]
Web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@770
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 11 Apr 2009 08:32:15 +0000 (08:32 +0000)]
Changes:
- Only send e-mail if any changes were committed in the Subversion
repository during the last 24 hours.
- E-mail sent by this script now includes the revision numbers of the
revisions that have been compared by this script.
- Moved section with differences from bottom to top of output.
- Changed diff options from -C1 to -u.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@769
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 11 Apr 2009 08:28:57 +0000 (08:28 +0000)]
Made ABT_TMPDIR path absolute, and swapped kernel version order.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@768
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 11 Apr 2009 08:20:19 +0000 (08:20 +0000)]
Moved ABT_TMPDIR from /tmp to .
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@767
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Fri, 10 Apr 2009 18:41:48 +0000 (18:41 +0000)]
Added even more cache flushing.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@766
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 9 Apr 2009 10:07:31 +0000 (10:07 +0000)]
A bunch of minor fixes and important cleanups. Particularly:
- More fixes on circular dependency between target_mutex and scst_mutex
- Docs updated
- Sense handling cleanups
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@764
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 9 Apr 2009 09:50:47 +0000 (09:50 +0000)]
Web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@763
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 16:35:15 +0000 (16:35 +0000)]
Flush all caches before starting a test.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@762
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 16:33:55 +0000 (16:33 +0000)]
URL of sparse homepage is now printed in case sparse was not found.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@761
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 09:50:40 +0000 (09:50 +0000)]
Updated ignore list.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@760
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 09:49:31 +0000 (09:49 +0000)]
Several small output changes.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@759
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 09:15:13 +0000 (09:15 +0000)]
Added to repository.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@758
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 08:11:06 +0000 (08:11 +0000)]
When multiple kernel versions have been specified in the argument list, only run checkpatch and sparse on the first specified kernel version. For the other kernel versions, compile the kernel source code but do not run checkpatch or sparse.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@757
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 8 Apr 2009 07:25:50 +0000 (07:25 +0000)]
- Added command-line option -q, which allows to suppress download messages.
- Disabled running "make headers_check" because it produces a lot of output
with the 2.6.29 kernel, and none of the output applies to SCST.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@756
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Tue, 7 Apr 2009 17:28:14 +0000 (17:28 +0000)]
Added to repository.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@755
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 6 Apr 2009 15:14:55 +0000 (15:14 +0000)]
Comparison page updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@754
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 6 Apr 2009 11:19:07 +0000 (11:19 +0000)]
Missed bits in preventing circular locking dependency between target_mutex and scst_mutex
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@752
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 6 Apr 2009 11:17:22 +0000 (11:17 +0000)]
Missed bits in BIDI commands support
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@751
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Sat, 4 Apr 2009 18:48:12 +0000 (18:48 +0000)]
Comparison between various SCSI targets for Linux added
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@750
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 4 Apr 2009 18:03:43 +0000 (18:03 +0000)]
Check for sparse before starting the regression tests.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@749
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 4 Apr 2009 15:14:21 +0000 (15:14 +0000)]
Changed usage slightly: kernel versions are now accepted without the switch -k.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@748
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 4 Apr 2009 09:12:20 +0000 (09:12 +0000)]
Changes:
- Added command-line options -a, -d, -n and -s.
- If the syntax of the command-line options is incorrect, a usage text
is displayed.
- Bug fix: log2_io_size is now honored even if the target device is larger
than the specified size.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@747
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 3 Apr 2009 17:49:26 +0000 (17:49 +0000)]
Bidirectional data transfers added
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@744
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 3 Apr 2009 17:38:20 +0000 (17:38 +0000)]
Fix for circular locking dependency between target_mutex and scst_mutex spotted by lockdep
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@743
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
zorko [Fri, 3 Apr 2009 06:35:36 +0000 (06:35 +0000)]
Initial 8Gb support, not tested very well yet.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@742
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
zorko [Fri, 3 Apr 2009 00:44:57 +0000 (00:44 +0000)]
Make it compile on CentOS, or so Vlad asserts.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@740
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 2 Apr 2009 19:27:39 +0000 (19:27 +0000)]
Fixes failure of enabling target mode, if do it too fast. Based on work by sdrb <sdrb@onet.eu>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@739
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 2 Apr 2009 18:24:18 +0000 (18:24 +0000)]
Patch from Smadar Gonen <smadar.gn@gmail.com> fixing compilation on CentOS 5.2
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@737
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 2 Apr 2009 18:20:15 +0000 (18:20 +0000)]
Docs and logging updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@736
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 2 Apr 2009 18:18:00 +0000 (18:18 +0000)]
Patch from Frank Zago fixing scstadmin typos
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@735
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 2 Apr 2009 18:16:11 +0000 (18:16 +0000)]
Patch from Frank Zago fixing compilation on 2.6.23 kernel
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@734
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 1 Apr 2009 12:15:27 +0000 (12:15 +0000)]
Fix of leftover from previous debug sessions
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@733
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 1 Apr 2009 12:12:41 +0000 (12:12 +0000)]
Merge with 1.0.1.x r731:
Docs updated. Changes in iscsi-scst/doc/iscsi-scst-howto.txt made by Bart Van Assche
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@732
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 1 Apr 2009 11:09:44 +0000 (11:09 +0000)]
Version number increased
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@729
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 29 Mar 2009 08:50:52 +0000 (08:50 +0000)]
Added to repository.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@728
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 27 Mar 2009 20:41:42 +0000 (20:41 +0000)]
Minor WEB updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@727
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 27 Mar 2009 19:50:23 +0000 (19:50 +0000)]
ChangeLog and ToDo files updated
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@725
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Fri, 27 Mar 2009 12:14:41 +0000 (12:14 +0000)]
- Minor fixes in error recovery paths
- Minor cleanups
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@724
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 26 Mar 2009 19:01:28 +0000 (19:01 +0000)]
The patch below adds a comment about why it is safe to use in_atomic() in
scst_cmd_atomic() -- the 2.6.29 checkpatch script issues a warning about it.
At the same time, the scst_cmd_atomic() comment has been converted to
kernel-doc style. See also Documentation/kernel-doc-nano-HOWTO.txt for more
information.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@723
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 26 Mar 2009 18:38:05 +0000 (18:38 +0000)]
Sync with the latest IET (r207-211):
- Fix CHAP account handling bugs
- Fix bugs in multi PDU handling code
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@722
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 26 Mar 2009 18:25:00 +0000 (18:25 +0000)]
- Fixed crash introduced by r710 reported by andy yan <andyysj@gmail.com>
- Improve logging on write access on read-only devices
- Make the same initiator coming through different sessions use shared IO context
- Cleanups
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@721
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 25 Mar 2009 19:42:03 +0000 (19:42 +0000)]
Patch from Ruben Laban <r.laban@ism.nl>:
While writing DKMS support for the SCST and iSCST-SCST kernel modules, I ran
into a (common) problem with regard to out-of-tree build detection. A common
method to detect out-of-tree building is by using the KERNELRELEASE variable.
The usage of this variable poses a problem when using DKMS. DKMS itself uses
the KERNELRELEASE variable to specify the kernel for which the driver to
build. A suggested alternative would to use the PATCHLEVEL variable as part
of the detection mechanism instead. I attached a patch reflecting this
suggested change.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@720
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 25 Mar 2009 19:33:10 +0000 (19:33 +0000)]
Patch from Ruben Laban <r.laban@ism.nl>:
I replaced all occurences of DISTDIR with DESTDIR and also introduced SBINDIR (and friends) to some other Makefiles.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@719
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 25 Mar 2009 13:03:29 +0000 (13:03 +0000)]
Fixes deadlock on iSCSI session freeing. Reported by andy yan <andyysj@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@718
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 25 Mar 2009 12:55:27 +0000 (12:55 +0000)]
The patch below adds support for the 2.6.29 kernel and also fixes the
checkpatch issues reported by the checkpatch script included with the 2.6.29
kernel and that were not yet reported by the 2.6.28 checkpatch script
(trailing statements should be on the next line / struct should normally be
const).
The patch below has been tested as follows:
- Reran scripts/run-regression-tests -k 2.6.24.7 -k 2.6.25.20 -k 2.6.26.8 -k 2.6.27.21 -k 2.6.28.9 -k 2.6.29 and verified the output.
- Rebuilt, installed and loaded scst, iscsi-scst and srpt as follows:
make -s clean && make -s -C scst install && make -s -C iscsi-scst install && make -s -C srpt install && cd scstadmin && make -s && make -s install && modprobe scst_vdisk && modprobe iscsi-scst && dmesg
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
with minor cleanups and corrections in put_page_callback-2.6.29.patch
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@717
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Tue, 24 Mar 2009 19:08:29 +0000 (19:08 +0000)]
- Added command-line option -d, which allows to specify a directory for
temporary regression test files.
- Added workaround for the problem that the branch profiling code in the
2.6.29 kernel triggers a huge number of sparse warnings.
- Made sure that all tests print some output, even if successful.
- Improved summarizing of sparse warnings.
- Command-line option -j now works.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@716
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 24 Mar 2009 10:43:55 +0000 (10:43 +0000)]
- Fixes broken build if io_context patch not applied
- #warning's cleanup
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@715
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 23 Mar 2009 19:58:18 +0000 (19:58 +0000)]
- Added command-line option -j (number of jobs that make should run
simultaneously).
- scripts/generate-kernel-patch is now only run once instead of three
times per kernel version.
- Context imbalance warnings are no longer filtered from the output of
sparse.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@714
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 23 Mar 2009 19:44:42 +0000 (19:44 +0000)]
Finished renaming of export_alloc_io_context patch into io_context performed in revision r710.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@713
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 23 Mar 2009 19:32:32 +0000 (19:32 +0000)]
The patch below fixes the following recently introduced checkpatch complaints:
* use tabs not spaces
and the following recently introduced sparse warnings:
* drivers/scst/scst_lib.c:437:6: warning: symbol 'scst_queue_report_luns_changed_UA' was not declared. Should it be static?
* drivers/scst/scst_lib.c:3909:21: warning: symbol 'tm_dbg_tgt_dev' was not declared. Should it be static?
* drivers/scst/iscsi-scst/session.c:170:9: warning: cast to non-scalar
* drivers/scst/iscsi-scst/session.c:180:24: warning: cast to non-scalar
The patch below has been verified by reviewing it carefully and by verifying the output of the following command: scripts/run-regression-tests -k 2.6.28.8
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@712
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 23 Mar 2009 19:25:38 +0000 (19:25 +0000)]
Unsupported patch from Krzysztof Błaszkowski <kb@sysmikro.com.pl>:
I prepared it for kernel 2.6.27.7-9 which is used by openSuSE11.1-0 but it can
also be applied to 2.6.27.19-3.2.1 (with some offset/fuzz) which is going to
be deployed in SLE11.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@711
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 23 Mar 2009 19:19:56 +0000 (19:19 +0000)]
- Make dynamic io_context assignment complete. Old export_alloc_io_context patch should be reverted and new io_context patch applied instead.
- Make BLOCKIO io_contex be per-(device,session)
- Cleanups
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@710
d57e44dd-8a1f-0410-8b47-
8ef2f437770f