mirror/scst/.git
13 years agoUpdated kernel versions.
bvassche [Fri, 3 Jul 2009 10:30:08 +0000 (10:30 +0000)]
Updated kernel versions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@930 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemoved trailing whitespace.
bvassche [Wed, 1 Jul 2009 10:47:33 +0000 (10:47 +0000)]
Removed trailing whitespace.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@929 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoSmall performance optimization: wake up IO/processing threads in LIFO order.
vlnb [Tue, 30 Jun 2009 16:13:48 +0000 (16:13 +0000)]
Small performance optimization: wake up IO/processing threads in LIFO order.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@928 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoBackported versions of the context readahead patch http://lkml.org/lkml/2009/4/12...
vlnb [Tue, 30 Jun 2009 10:45:48 +0000 (10:45 +0000)]
Backported versions of the context readahead patch lkml.org/lkml/2009/4/12/9, which improve performance of Linux read-ahead algorithm.

Thanks to Wu Fengguang for backporting!

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@927 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoCompiles now against vanilla 2.6.18 kernel headers.
bvassche [Mon, 29 Jun 2009 19:00:10 +0000 (19:00 +0000)]
Compiles now against vanilla 2.6.18 kernel headers.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@926 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoPatch from Klaus Hochlehnert <Mailings@kh-dev.de>:
vlnb [Mon, 29 Jun 2009 18:11:58 +0000 (18:11 +0000)]
Patch from Klaus Hochlehnert <Mailings@kh-dev.de>:

Here's the readahead patch for Ubuntu 8.04 - 2.6.24 kernel

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@925 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoPorted from bash to sh and from GNU awk to POSIX awk. Runs now correctly on an unmodi...
bvassche [Mon, 29 Jun 2009 17:55:32 +0000 (17:55 +0000)]
Ported from bash to sh and from GNU awk to POSIX awk. Runs now correctly on an unmodified Debian or Ubuntu system.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@924 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdd some conditional code to handle kernel versions less that 2.6.25 that
richardsharpe [Fri, 26 Jun 2009 00:54:57 +0000 (00:54 +0000)]
Add some conditional code to handle kernel versions less that 2.6.25 that
can send a request as a non scatterlist. If we get one, we create a single
element scatterlist and hand that on to SCST.

This costs some extra space in the structure I use to keep track of requests
and the done function, but only on those versions for which it is possible.
For real kernels it is scatterlists all the way down young man.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@922 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemove an ugly hack that was left in just in case. It has been confirmed to
richardsharpe [Wed, 24 Jun 2009 23:10:53 +0000 (23:10 +0000)]
Remove an ugly hack that was left in just in case. It has been confirmed to
be not needed.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@921 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoCleanup of use of READ ONLY flag
vlnb [Wed, 24 Jun 2009 12:40:28 +0000 (12:40 +0000)]
Cleanup of use of READ ONLY flag

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@918 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFix compilation on linux kernels 2.6.28, 29 and 30.
swgruszka [Tue, 23 Jun 2009 17:29:30 +0000 (17:29 +0000)]
Fix compilation on linux kernels 2.6.28, 29 and 30.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@917 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoCleanup: sess->shutdown_compl made on stack
vlnb [Tue, 23 Jun 2009 12:15:49 +0000 (12:15 +0000)]
Cleanup: sess->shutdown_compl made on stack

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@916 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFix possible crash in scst_copy_sg()
vlnb [Fri, 19 Jun 2009 16:32:26 +0000 (16:32 +0000)]
Fix possible crash in scst_copy_sg()

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@914 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoDisplay which kernel headers are used during compilation of the SRP target driver.
bvassche [Thu, 18 Jun 2009 18:35:05 +0000 (18:35 +0000)]
Display which kernel headers are used during compilation of the SRP target driver.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@913 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago1. Fixed deadlock issue.
andyysj [Thu, 18 Jun 2009 09:12:44 +0000 (09:12 +0000)]
1. Fixed deadlock issue.
2. Update code to support adaptable feature set according chip type.
3. Add support new B0 chip of 9480.
4. Add change log file and README

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@912 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoscstadmin docs improved
vlnb [Wed, 17 Jun 2009 17:28:05 +0000 (17:28 +0000)]
scstadmin docs improved

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@910 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoA bunch of minor changes:
vlnb [Wed, 17 Jun 2009 17:22:17 +0000 (17:22 +0000)]
A bunch of minor changes:

 - Logging improved
 - #warning about io_context patched for pre-2.6.27 kernels improved
 - Docs updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@909 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoWEB updates
vlnb [Wed, 17 Jun 2009 10:39:15 +0000 (10:39 +0000)]
WEB updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@908 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoSome time ago it became clear that some SCST users are using kernel 2.6.23. So
vlnb [Tue, 16 Jun 2009 19:36:11 +0000 (19:36 +0000)]
Some time ago it became clear that some SCST users are using kernel 2.6.23. So
it makes sense to run the nightly build also for kernel 2.6.23. But doing so
is only possible with the attached two files present in the SCST tree.
Except for the kernel version these patches are identical to the corresponding
patches for the 2.6.24 kernel.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@907 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated kernel version 2.6.29.4 to 2.6.29.5.
bvassche [Tue, 16 Jun 2009 15:31:04 +0000 (15:31 +0000)]
Updated kernel version 2.6.29.4 to 2.6.29.5.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@906 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemoved trailing whitespace.
bvassche [Tue, 16 Jun 2009 06:29:04 +0000 (06:29 +0000)]
Removed trailing whitespace.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@905 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemoved trailing whitespace from the newly added lines in the readahead* patches.
bvassche [Tue, 16 Jun 2009 06:28:06 +0000 (06:28 +0000)]
Removed trailing whitespace from the newly added lines in the readahead* patches.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@904 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded readahead-${kernel_version}.patch.
bvassche [Mon, 15 Jun 2009 19:23:06 +0000 (19:23 +0000)]
Added readahead-${kernel_version}.patch.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@903 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded more kernel versions.
bvassche [Mon, 15 Jun 2009 19:08:42 +0000 (19:08 +0000)]
Added more kernel versions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@902 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoSplit table header over two lines / columns are now lined up with the table header...
bvassche [Mon, 15 Jun 2009 18:55:36 +0000 (18:55 +0000)]
Split table header over two lines / columns are now lined up with the table header if all printed numbers are smaller than 10000.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@901 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMade command-line option documentation more clear.
bvassche [Mon, 15 Jun 2009 10:59:54 +0000 (10:59 +0000)]
Made command-line option documentation more clear.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@900 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMake scst_local compile cleanly on a range of versions of Linux. I have tested
richardsharpe [Sun, 14 Jun 2009 21:00:52 +0000 (21:00 +0000)]
Make scst_local compile cleanly on a range of versions of Linux. I have tested
2.6.24, 2.6.25.4, 2.6.27.x and 2.6.29. I have also tested under 2.6.18 on a
CentOS 5.3 system.

There might still be problems with some 2.6.18 systems, and I will commit more
changes as the need arises.

I have only tested that scst_local builds and loads with these changes. I have
not tested any devices as yet.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@899 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoPorted to 2.6.30 kernel.
bvassche [Sun, 14 Jun 2009 07:45:12 +0000 (07:45 +0000)]
Ported to 2.6.30 kernel.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@898 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago- Added command-line option -i.
bvassche [Thu, 11 Jun 2009 18:59:00 +0000 (18:59 +0000)]
- Added command-line option -i.
- Added additional columns with average transfer speed in MB/s, the
  standard deviation for this average, and the number of IOPS.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@897 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoreadahead patches added. See http://sourceforge.net/mailarchive/forum.php?thread_name...
vlnb [Mon, 8 Jun 2009 17:01:04 +0000 (17:01 +0000)]
readahead patches added. See sourceforge.net/mailarchive/forum.php?thread_name=a0272b440906030714g67eabc5k8f847fb1e538cc62%40mail.gma
il.com&forum_name=scst-devel for more details.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@896 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMerge of IET r213
vlnb [Wed, 3 Jun 2009 19:19:36 +0000 (19:19 +0000)]
Merge of IET r213

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@894 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago - 64-bit cleanups
vlnb [Wed, 3 Jun 2009 19:01:58 +0000 (19:01 +0000)]
 - 64-bit cleanups
 - Other monor fixes and cleanups
 - Docs updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@892 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago64-bit cleanups
vlnb [Wed, 3 Jun 2009 18:59:30 +0000 (18:59 +0000)]
64-bit cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@891 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoWeb updates
vlnb [Wed, 3 Jun 2009 18:57:37 +0000 (18:57 +0000)]
Web updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@890 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFix compilation error in some strange circumstances, I think change is harmless.
swgruszka [Tue, 2 Jun 2009 16:24:38 +0000 (16:24 +0000)]
Fix compilation error in some strange circumstances, I think change is harmless.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@889 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded to repository.
bvassche [Fri, 22 May 2009 11:02:45 +0000 (11:02 +0000)]
Added to repository.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@882 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated SRPT documentation.
bvassche [Fri, 22 May 2009 10:59:16 +0000 (10:59 +0000)]
Updated SRPT documentation.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@881 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago- Compiles again on RHEL 5.
bvassche [Fri, 22 May 2009 06:39:42 +0000 (06:39 +0000)]
- Compiles again on RHEL 5.
- RHEL 5 + OFED: fixed kernel oops that was triggered by the reception of
  an asynchronous InfiniBand event.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@880 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemoved the scst_released synchronization object because the previous
bvassche [Thu, 21 May 2009 12:41:53 +0000 (12:41 +0000)]
Removed the scst_released synchronization object because the previous
commit made it superfluous.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@879 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMoved scst_register() call from srpt_detect() to srpt_add_one(). Added
bvassche [Thu, 21 May 2009 12:34:11 +0000 (12:34 +0000)]
Moved scst_register() call from srpt_detect() to srpt_add_one(). Added
call to scst_unregister() in srpt_remove_one(). Result:
- The kernel oops triggered by loading the ib_srpt kernel module before
  the InfiniBand subnet manager became active is now fixed.
- It is now possible to log in via the SRP protocol through HCA's that
  became active after the ib_srpt kernel module finished module
  initialization.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@878 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago- Switched to a more traditional error handling style with regard to MAD
bvassche [Thu, 21 May 2009 11:28:09 +0000 (11:28 +0000)]
- Switched to a more traditional error handling style with regard to MAD
  handler registration: sport->mad_agent is now reset to NULL when MAD
  handler registration fails.
- Fixed bug in srpt_refresh_port(): this function now returns a negative
  value instead of zero when MAD registration fails.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@877 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFixed bug that was introduced through the previous commit (r875): a warning message...
bvassche [Thu, 21 May 2009 10:57:20 +0000 (10:57 +0000)]
Fixed bug that was introduced through the previous commit (r875): a warning message was printed by srpt_remove_one() when sdev != NULL instead of when sdev == NULL.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@876 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMoved the code for freeing the ring of I/O context structures to a separate function.
bvassche [Thu, 21 May 2009 06:54:42 +0000 (06:54 +0000)]
Moved the code for freeing the ring of I/O context structures to a separate function.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@875 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMoved the code for unregistering the MAD agent into a separate function.
bvassche [Thu, 21 May 2009 06:33:38 +0000 (06:33 +0000)]
Moved the code for unregistering the MAD agent into a separate function.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@874 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFixes possible miss of UCMD_STATE_ON_FREEING event found by Erez Zilber <erezzi.list...
vlnb [Wed, 20 May 2009 17:16:23 +0000 (17:16 +0000)]
Fixes possible miss of UCMD_STATE_ON_FREEING event found by Erez Zilber <erezzi.list@gmail.com> + some cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@870 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated kernel versions.
bvassche [Wed, 20 May 2009 16:50:24 +0000 (16:50 +0000)]
Updated kernel versions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@869 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoOnly apply patch d9ad8bc0ca823705413f75b50c442a88cc518b35 to kernels
bvassche [Wed, 20 May 2009 16:48:14 +0000 (16:48 +0000)]
Only apply patch d9ad8bc0ca823705413f75b50c442a88cc518b35 to kernels
2.6.29 up to and including 2.6.29.3 since this patch is included in
2.6.29.4 and higher and also in 2.6.30 and higher.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@868 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemoved a trailing tab.
bvassche [Wed, 20 May 2009 16:44:23 +0000 (16:44 +0000)]
Removed a trailing tab.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@867 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated kernel versions.
bvassche [Wed, 20 May 2009 15:47:14 +0000 (15:47 +0000)]
Updated kernel versions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@866 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof...
vlnb [Tue, 19 May 2009 18:19:06 +0000 (18:19 +0000)]
Fixes issues cased by recent change of cdb_len to unsigned. Reported by Krzysztof B┼éaszkowski <kb@sysmikro.com.pl>.

Also it adds INIT ELEMENT STATUS WRANGE to the list of known commands.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@864 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded more comments.
bvassche [Tue, 19 May 2009 17:58:06 +0000 (17:58 +0000)]
Added more comments.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@863 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoMinor fixes and cleanups
vlnb [Tue, 19 May 2009 17:56:25 +0000 (17:56 +0000)]
Minor fixes and cleanups

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@862 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoReverted r857 because the coding style of r856 is believed to be what is expected...
bvassche [Tue, 19 May 2009 16:41:09 +0000 (16:41 +0000)]
Reverted r857 because the coding style of r856 is believed to be what is expected upstream instead of the coding style of r857.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@860 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoChanges suggested by Sam Haxor <generationgnu@yahoo.com>
vlnb [Mon, 18 May 2009 18:09:35 +0000 (18:09 +0000)]
Changes suggested by Sam Haxor <generationgnu@yahoo.com>

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@859 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoWeb updates. Particularly, scst_pg has changes suggested by Sam Haxor <generationgnu...
vlnb [Mon, 18 May 2009 18:08:04 +0000 (18:08 +0000)]
Web updates. Particularly, scst_pg has changes suggested by Sam Haxor <generationgnu@yahoo.com>

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@858 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoCleaned up changes introduced in r855.
bvassche [Sat, 16 May 2009 11:24:45 +0000 (11:24 +0000)]
Cleaned up changes introduced in r855.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@857 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded more comments.
bvassche [Sat, 16 May 2009 11:20:52 +0000 (11:20 +0000)]
Added more comments.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@856 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoSplit srpt_handle_new_iu() in smaller functions.
bvassche [Sat, 16 May 2009 07:34:41 +0000 (07:34 +0000)]
Split srpt_handle_new_iu() in smaller functions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@855 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoRemoved a trailing space because checkpatch complained about it.
bvassche [Sat, 16 May 2009 07:10:28 +0000 (07:10 +0000)]
Removed a trailing space because checkpatch complained about it.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@854 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdd dopey script that can turn a .h firmware file into
zorko [Thu, 14 May 2009 02:24:43 +0000 (02:24 +0000)]
Add dopey script that can turn a .h firmware file into
a loadable binary.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@853 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded command-line option -r.
bvassche [Tue, 12 May 2009 18:53:11 +0000 (18:53 +0000)]
Added command-line option -r.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@852 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago1. Fixed some issues with initiator driver.
andyysj [Tue, 12 May 2009 06:54:54 +0000 (06:54 +0000)]
1. Fixed some issues with initiator driver.
2. Clean up code.
3. Fixed issue with supporting task management function.
4. Fixed issue with checking and sending sense data.
5. update version to 0.8.3.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@849 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated to do list.
bvassche [Mon, 11 May 2009 17:55:59 +0000 (17:55 +0000)]
Updated to do list.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@848 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoScst_user doc updated
vlnb [Mon, 11 May 2009 17:37:55 +0000 (17:37 +0000)]
Scst_user doc updated

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@846 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoSupport for shared between devices caches added
vlnb [Mon, 11 May 2009 17:36:44 +0000 (17:36 +0000)]
Support for shared between devices caches added

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@844 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago - Necessary cleanups in SGV cache for upcoming improvements. Particularly, all recla...
vlnb [Mon, 11 May 2009 17:30:47 +0000 (17:30 +0000)]
 - Necessary cleanups in SGV cache for upcoming improvements. Particularly, all reclaiming management made per-pool, not global as before
 - Shared between devices caches implemented

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@843 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago - Error logging improved
vlnb [Mon, 11 May 2009 17:26:17 +0000 (17:26 +0000)]
 - Error logging improved
 - Docs updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@842 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years ago - Data digest SMP scalability imcreased
vlnb [Mon, 11 May 2009 17:24:51 +0000 (17:24 +0000)]
 - Data digest SMP scalability imcreased
 - Iscsi_dump_char() made thread safe

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@841 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoWeb updates
vlnb [Mon, 11 May 2009 17:19:14 +0000 (17:19 +0000)]
Web updates

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@840 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFix possible crash with too fast target mode enabling/disabling or module unload
vlnb [Mon, 11 May 2009 17:06:54 +0000 (17:06 +0000)]
Fix possible crash with too fast target mode enabling/disabling or module unload

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@839 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAnother documentation update.
bvassche [Sun, 10 May 2009 19:20:58 +0000 (19:20 +0000)]
Another documentation update.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@838 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded more details.
bvassche [Sun, 10 May 2009 18:28:09 +0000 (18:28 +0000)]
Added more details.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@837 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoClarified an error message.
bvassche [Sun, 10 May 2009 18:25:08 +0000 (18:25 +0000)]
Clarified an error message.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@836 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoAdded a variant of the patch for scripts/Makefile.lib.
bvassche [Sun, 10 May 2009 18:04:57 +0000 (18:04 +0000)]
Added a variant of the patch for scripts/Makefile.lib.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@835 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoDocumented how to build SCST-SRPT against OFED.
bvassche [Sun, 10 May 2009 17:31:22 +0000 (17:31 +0000)]
Documented how to build SCST-SRPT against OFED.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@834 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated to do file.
bvassche [Sun, 10 May 2009 17:29:41 +0000 (17:29 +0000)]
Updated to do file.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@833 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoFix various buglets that really were seriously bad and resync with FreeBSD tree.
zorko [Sun, 10 May 2009 17:18:00 +0000 (17:18 +0000)]
Fix various buglets that really were seriously bad and resync with FreeBSD tree.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@831 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoUpdated kernel revisions.
bvassche [Sat, 9 May 2009 09:14:21 +0000 (09:14 +0000)]
Updated kernel revisions.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@830 d57e44dd-8a1f-0410-8b47-8ef2f437770f

13 years agoSmall web mistake fixed
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

13 years agoWeb updates
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

13 years agoPatch from frank zago <fzago@systemfabricworks.com> with some modifications. It expos...
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

13 years ago1. Fixed bug - Task frame type setting.
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

13 years agoA lot of microchanges, but actually this means that the FreeBSD port,
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

13 years agoUnfortunately the latest InfiniBand software is not included in Linux
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

13 years agoAdded the equivalent of #undef BACKPORT_LINUX_WORKQUEUE_TO_2_6_19.
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

13 years agoRemoved one OFED installation test because on some distro's it triggers false complaints.
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

13 years agoFixed checkpatch complaints about whitespace (indentation should use tabs / trailing...
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

13 years agoib_srpt.c compiles now on RHEL 5.x systems where OFED has been installed.
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

13 years agoPrepend the OFED kernel header paths before the regular kernel header path when compi...
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

13 years agoUpdated kernel versions to latest stable kernels.
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

13 years ago- Removed comments that referred to the 2.4 module build system.
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

13 years ago - Cleanups and improvements in handling various special commands properties
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

13 years agoMade building against OFED more robust.
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

13 years agoAdded support for compiling scst-srpt on a system where the OFED InfiniBand
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

13 years ago - Fixes incorrect initiators.allow matching. Reported and tested by Dimitri Puzin...
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

13 years agoCersions and web updated
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

13 years agoWeb updates, Piwik code added
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

13 years agoReport a skipped nightly build in a status file instead of by echoing text, such...
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

13 years agoSwitched from 2.6.29.1 to 2.6.29.2.
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

13 years agoWeb updates
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