mirror/scst/.git
11 years agoFixed a (false positive) compiler warning.
bvassche [Sat, 14 Nov 2009 19:30:27 +0000 (19:30 +0000)]
Fixed a (false positive) compiler warning.

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

11 years agoUpdated test instructions.
bvassche [Wed, 11 Nov 2009 18:56:05 +0000 (18:56 +0000)]
Updated test instructions.

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

11 years ago- Fixed races between command abortion code and regular command processing
bvassche [Wed, 11 Nov 2009 18:44:05 +0000 (18:44 +0000)]
- Fixed races between command abortion code and regular command processing
  code.
- Fixed the bug that new commands could be queued for a channel that was
  being closed.
- Bug fix: ib_dma_unmap_sg() is now called by srpt_xmit_response() when
  aborting commands.
- Changed default value of the kernel module parameter 'thread' from zero
  to one because using thread=0 can cause the Linux and the OFED SRP
  initiator to lock up -- see also
  http://bugzilla.kernel.org/show_bug.cgi?id=14235 and
  https://bugs.openfabrics.org/show_bug.cgi?id=1745.
- Made disconnect logging more detailed -- added cm_id in output.
- Changed argument type of second argument of srpt_release_channel() from
  int to bool.
- Eliminated srpt_abort_scst_cmd's 'tell_initiator' argument because this
  argument always has the same value (i.e. true).
- Simplified abortion of commands in state SRPT_STATE_NEW. Simplified
  implementation of srpt_on_free_cmd().

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

11 years agoUpdated kernel versions 2.6.27.38 and 2.6.31.5 to 2.6.28.39 and 2.6.31.6 respectively.
bvassche [Tue, 10 Nov 2009 11:59:00 +0000 (11:59 +0000)]
Updated kernel versions 2.6.27.38 and 2.6.31.5 to 2.6.28.39 and 2.6.31.6 respectively.

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

11 years agoWeb fixes from Daniel Fernandes <dfernandes1978@hotmail.com>
vlnb [Mon, 9 Nov 2009 20:05:52 +0000 (20:05 +0000)]
Web fixes from Daniel Fernandes <dfernandes1978@hotmail.com>

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

11 years agoBIDI fixes
vlnb [Mon, 9 Nov 2009 13:53:57 +0000 (13:53 +0000)]
BIDI fixes

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

11 years ago- Changed default maximum control message size from 996 to 4096 bytes.
bvassche [Sat, 7 Nov 2009 11:56:51 +0000 (11:56 +0000)]
- Changed default maximum control message size from 996 to 4096 bytes.
  As a result, the maximum number of sg list elements that an initiator
  can pass in one message increased from 58 to 251.
- Added kernel module parameter srp_max_message_size, which allows to
  specify the maximum size of SRP control messages.

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

11 years agoFixed a sparse error that was introduced in r1324.
bvassche [Sat, 7 Nov 2009 10:15:23 +0000 (10:15 +0000)]
Fixed a sparse error that was introduced in r1324.

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

11 years agoFix for user space part of the iSCSI target, which refused connections in the procfs...
vlnb [Fri, 6 Nov 2009 19:28:27 +0000 (19:28 +0000)]
Fix for user space part of the iSCSI target, which refused connections in the procfs mode.

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

11 years agoLogging cleanup
vlnb [Fri, 6 Nov 2009 19:05:09 +0000 (19:05 +0000)]
Logging cleanup

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

11 years agoiSCSI target sysfs "enabled" attribute implemented
vlnb [Fri, 6 Nov 2009 18:41:37 +0000 (18:41 +0000)]
iSCSI target sysfs "enabled" attribute implemented

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

11 years agokobject tricky lifetime races fixed
vlnb [Fri, 6 Nov 2009 18:39:52 +0000 (18:39 +0000)]
kobject tricky lifetime races fixed

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

11 years agoPatch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing more Validator errors.
vlnb [Fri, 6 Nov 2009 18:32:39 +0000 (18:32 +0000)]
Patch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing more Validator errors.

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

11 years agoAdded command-line option -w.
bvassche [Fri, 6 Nov 2009 13:17:14 +0000 (13:17 +0000)]
Added command-line option -w.

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

11 years agoData Domain added
vlnb [Fri, 6 Nov 2009 11:55:00 +0000 (11:55 +0000)]
Data Domain added

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

11 years agoPatch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing issues discovered...
vlnb [Thu, 5 Nov 2009 14:34:38 +0000 (14:34 +0000)]
Patch from Daniel Fernandes <dfernandes1978@hotmail.com> fixing issues discovered by validator.

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

11 years agoSVN access changed to trunk/
vlnb [Wed, 4 Nov 2009 19:44:50 +0000 (19:44 +0000)]
SVN access changed to trunk/

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

11 years agoPranah Storage Technologies added
vlnb [Wed, 4 Nov 2009 19:29:11 +0000 (19:29 +0000)]
Pranah Storage Technologies added

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

11 years agoAdded command-line options -m and -M.
bvassche [Wed, 4 Nov 2009 12:52:17 +0000 (12:52 +0000)]
Added command-line options -m and -M.

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

11 years agoThe patch below converts the #ifndef SYMBOL / #define SYMBOL / #endif symbol
vlnb [Tue, 3 Nov 2009 18:56:19 +0000 (18:56 +0000)]
The patch below converts the #ifndef SYMBOL / #define SYMBOL / #endif symbol
constructs in the SCST source code into one of the following:
* These three lines are removed entirely if the symbol definition is present in
  the Linux 2.6.18 source tree.
* The definition has been made unconditional if the symbol definition is not yet
  present in the 2.6.31 source tree.
* Converted the definition into #if LINUX_VERSION_CODE < KERNEL_VERSION(...) /
  #define SYMBOL / #endif if a definition for the symbol has been added between
  kernel versions 2.6.18 and 2.6.31.

The patch below has been tested by veryfing whether the SCST tree still
compiles on RHEL 5.4 and by verifying the output of the following command:

  for ((i=24;i<=31;i++)); do scripts/run-regression-tests 2.6.$i; done

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
also MI_REPORT_TARGET_PGS removed as not used.

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

11 years agoFixes possible crash, caused by q2t_sess_work_fn() called on several CPUs at time...
vlnb [Tue, 3 Nov 2009 18:44:09 +0000 (18:44 +0000)]
Fixes possible crash, caused by q2t_sess_work_fn() called on several CPUs at time. Reported by Gal Rosen <galr@storwize.com>

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

11 years agoRemoved trailing whitespace.
bvassche [Tue, 3 Nov 2009 07:46:39 +0000 (07:46 +0000)]
Removed trailing whitespace.

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

11 years ago- Fixed uninitialized variable read that was introduced in r1307.
bvassche [Mon, 2 Nov 2009 19:45:45 +0000 (19:45 +0000)]
- Fixed uninitialized variable read that was introduced in r1307.
- Introduced new kernel module parameter srp_max_rdma_size. This parameter
  allows to configure the maximum size of SRP RDMA transfers.

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

11 years agoDisable inlining in the debug build
vlnb [Mon, 2 Nov 2009 18:37:53 +0000 (18:37 +0000)]
Disable inlining in the debug build

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

11 years agoVarious sysfs related fixes
vlnb [Mon, 2 Nov 2009 18:07:54 +0000 (18:07 +0000)]
Various sysfs related fixes

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

11 years ago- Fixed a bug introduced in the previous commit.
bvassche [Sun, 1 Nov 2009 20:11:30 +0000 (20:11 +0000)]
- Fixed a bug introduced in the previous commit.
- Added more debug tracing related to command abortion.

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

11 years agoFixed the following issues found by Vladislav Bolkhovitin via source reading:
bvassche [Sun, 1 Nov 2009 17:01:08 +0000 (17:01 +0000)]
Fixed the following issues found by Vladislav Bolkhovitin via source reading:
- Inserted tests such that ib_dma_unmap_sg() is never called with a NULL
  second argument.
- Fixed race conditions triggered by ioctx->state manipulations.

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

11 years agoUpdates for the OFED 1.5 + kernel 2.6.30 combination.
bvassche [Sat, 31 Oct 2009 13:06:39 +0000 (13:06 +0000)]
Updates for the OFED 1.5 + kernel 2.6.30 combination.

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

11 years agoISCSI target sysfs implementation, except "enabled" attribute.
vlnb [Fri, 30 Oct 2009 20:15:38 +0000 (20:15 +0000)]
ISCSI target sysfs implementation, except "enabled" attribute.

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

11 years ago - DataCrunch Company added
vlnb [Fri, 30 Oct 2009 18:36:16 +0000 (18:36 +0000)]
 - DataCrunch Company added
 - Cosmetics

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

11 years agoShould have been included in the previous commit.
bvassche [Thu, 29 Oct 2009 19:42:53 +0000 (19:42 +0000)]
Should have been included in the previous commit.

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

11 years agoThe patch below fixes two occurrences of the following sparse warning:
vlnb [Thu, 29 Oct 2009 19:29:22 +0000 (19:29 +0000)]
The patch below fixes two occurrences of the following sparse warning:
  warning: incorrect type in argument 2 (different address spaces)

The patch below has been tested by verifying the output of the following
command: scripts/run-regression-tests 2.6.31.5

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

11 years agoCosmetics.
vlnb [Thu, 29 Oct 2009 19:27:14 +0000 (19:27 +0000)]
Cosmetics.

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

11 years agoFix for the wrong mcmd state assignment if scst_mgmt_translate_lun() returns >0 becau...
vlnb [Thu, 29 Oct 2009 19:18:09 +0000 (19:18 +0000)]
Fix for the wrong mcmd state assignment if scst_mgmt_translate_lun() returns >0 because of suspending. Found by Gilad / <gilad.public2@gmail.com>

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

11 years agoAdded more debug code.
bvassche [Thu, 29 Oct 2009 18:56:23 +0000 (18:56 +0000)]
Added more debug code.

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

11 years agoAdded and commented out compiler flags that make it easier to locate the statement...
bvassche [Thu, 29 Oct 2009 18:42:53 +0000 (18:42 +0000)]
Added and commented out compiler flags that make it easier to locate the statement that triggered a kernel oops.

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

11 years agoUpdated for the 2.6.30 kernel + OFED combination.
bvassche [Thu, 29 Oct 2009 18:41:52 +0000 (18:41 +0000)]
Updated for the 2.6.30 kernel + OFED combination.

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

11 years agoMore companies added
vlnb [Thu, 29 Oct 2009 18:41:50 +0000 (18:41 +0000)]
More companies added

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

11 years agoAdded to repository.
bvassche [Thu, 29 Oct 2009 18:41:08 +0000 (18:41 +0000)]
Added to repository.

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

11 years agoSimplified OFED installation instructions.
bvassche [Thu, 29 Oct 2009 18:40:37 +0000 (18:40 +0000)]
Simplified OFED installation instructions.

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

11 years agoMade sure that all double blank lines are converted into single blank lines.
bvassche [Thu, 29 Oct 2009 13:18:03 +0000 (13:18 +0000)]
Made sure that all double blank lines are converted into single blank lines.

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

11 years agoAdded to repository.
bvassche [Thu, 29 Oct 2009 13:17:13 +0000 (13:17 +0000)]
Added to repository.

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

11 years agoComments why we don't print prefix on debug traces added
vlnb [Wed, 28 Oct 2009 19:54:57 +0000 (19:54 +0000)]
Comments why we don't print prefix on debug traces added

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

11 years agoGentoo HOWTO added, thanks to Willem Boterenbrood <Willem@kerrigan.student.utwente.nl>
vlnb [Wed, 28 Oct 2009 19:22:15 +0000 (19:22 +0000)]
Gentoo HOWTO added, thanks to Willem Boterenbrood <Willem@kerrigan.student.utwente.nl>

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

11 years agoVersion fixed
vlnb [Wed, 28 Oct 2009 17:30:12 +0000 (17:30 +0000)]
Version fixed

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

11 years agoForgotten ChangeLog
vlnb [Wed, 28 Oct 2009 17:27:04 +0000 (17:27 +0000)]
Forgotten ChangeLog

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

11 years agoDelete double blank lines from the input.
bvassche [Wed, 28 Oct 2009 10:54:11 +0000 (10:54 +0000)]
Delete double blank lines from the input.

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

11 years agoAdded to repository.
bvassche [Wed, 28 Oct 2009 10:43:22 +0000 (10:43 +0000)]
Added to repository.

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

11 years agoFix a compiler warning about a mismatch between a format specifier and the correspond...
vlnb [Tue, 27 Oct 2009 13:12:33 +0000 (13:12 +0000)]
Fix a compiler warning about a mismatch between a format specifier and the corresponding argument, noticed by Bart Van Assche <bart.vanassche@gmail.com>

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

11 years agoPatch from Bart Van Assche <bart.vanassche@gmail.com> with improvements:
vlnb [Tue, 27 Oct 2009 13:05:48 +0000 (13:05 +0000)]
Patch from Bart Van Assche <bart.vanassche@gmail.com> with improvements:

Remove of leftovers of TRACE_ENTRYEXIT from the mainline patch generation.

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

11 years agoWeb upates for release qla_isp 1.0.2
vlnb [Tue, 27 Oct 2009 12:22:25 +0000 (12:22 +0000)]
Web upates for release qla_isp 1.0.2

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

11 years ago - Top level "News" menu item added, since sf.net hidden it too well
vlnb [Tue, 27 Oct 2009 12:04:19 +0000 (12:04 +0000)]
 - Top level "News" menu item added, since sf.net hidden it too well
 - Openfiler added on the "Users" page

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

11 years agoFixes from Daniel Fernandes <dfernandes1978@hotmail.com>:
vlnb [Mon, 26 Oct 2009 16:39:17 +0000 (16:39 +0000)]
Fixes from Daniel Fernandes <dfernandes1978@hotmail.com>:

 *  Some minor fixes about validator
 *  Some cleanups
 *  Some code rellocated ( about pwiki )

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

11 years ago - Proxmox added
vlnb [Mon, 26 Oct 2009 11:07:01 +0000 (11:07 +0000)]
 - Proxmox added
 - Minor fixes

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

11 years agoAxxana added
vlnb [Mon, 26 Oct 2009 11:00:23 +0000 (11:00 +0000)]
Axxana added

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

11 years agoOption -f is now a per-kernel option instead of a global option.
bvassche [Sun, 25 Oct 2009 13:28:02 +0000 (13:28 +0000)]
Option -f is now a per-kernel option instead of a global option.

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

11 years agoUpdated copyright statement.
bvassche [Sun, 25 Oct 2009 13:27:17 +0000 (13:27 +0000)]
Updated copyright statement.

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

11 years agoTRACE_ENTRY() / TRACE_EXIT*() statements are now filtered from the output
bvassche [Sun, 25 Oct 2009 13:26:49 +0000 (13:26 +0000)]
TRACE_ENTRY() / TRACE_EXIT*() statements are now filtered from the output
when option -u has been specified.

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

11 years ago- TRACE_EXIT_HRES() statements are now also filtered.
bvassche [Sun, 25 Oct 2009 13:25:10 +0000 (13:25 +0000)]
- TRACE_EXIT_HRES() statements are now also filtered.
- Hunk headers are now updated properly.

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

11 years agoAdded to repository.
bvassche [Sun, 25 Oct 2009 12:39:10 +0000 (12:39 +0000)]
Added to repository.

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

11 years agoMoved specification of which tests have to be run for which kernel from scripts/run...
bvassche [Sun, 25 Oct 2009 10:56:54 +0000 (10:56 +0000)]
Moved specification of which tests have to be run for which kernel from scripts/run-regression-tests to nightly/conf/*.conf. Added 2.6.31.5-u.

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

11 years agoAdded per-kernel options -nc and -ns, which allow to disable the
bvassche [Sun, 25 Oct 2009 10:33:09 +0000 (10:33 +0000)]
Added per-kernel options -nc and -ns, which allow to disable the
checkpatch and the sparse run respectively.

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

11 years agorun-regression-tests:
bvassche [Sun, 25 Oct 2009 09:46:40 +0000 (09:46 +0000)]
run-regression-tests:
- Adding the suffix "-u" to a kernel version will make the tests to be run
  with generate-kernel-patch -u ${kernel_version} instead of
  generate-kernel-patch ${kernel_version}.
generate-kernel-patch:
- sBUG(...) and sBUG_ON(...) are now replaced by BUG(...) and BUG_ON(...)
  respectively.
- Option -n does no longer disable the above substitution.
- Source file scst/src/scst_proc.c is now excluded when option -u is specified.
specialize-patch:
- Replaced variable delete_disabled_code by blank_deleted_lines. While setting
  the former variable had the effect of deleting disabled code, the latter
  has the effect of replacing disabled code by blank lines.

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

11 years agoAdded and commented out -DCONFIG_SCST_TRACING.
bvassche [Sun, 25 Oct 2009 09:39:55 +0000 (09:39 +0000)]
Added and commented out -DCONFIG_SCST_TRACING.

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

11 years agoMore #undef CONFIG_SCST_PROC fixes.
bvassche [Sun, 25 Oct 2009 09:39:27 +0000 (09:39 +0000)]
More #undef CONFIG_SCST_PROC fixes.

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

11 years agoFixed a sparse warning.
bvassche [Sun, 25 Oct 2009 09:31:26 +0000 (09:31 +0000)]
Fixed a sparse warning.

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

11 years agoTag final release.
swgruszka [Sat, 24 Oct 2009 15:31:32 +0000 (15:31 +0000)]
Tag final release.

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

11 years agoNote about qla2x00t in README.
swgruszka [Sat, 24 Oct 2009 15:30:25 +0000 (15:30 +0000)]
Note about qla2x00t in README.

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

11 years agoThe generate-kernel-patch option -u does now enable #undef CONFIG_SCST_PROC.
bvassche [Sat, 24 Oct 2009 07:48:44 +0000 (07:48 +0000)]
The generate-kernel-patch option -u does now enable #undef CONFIG_SCST_PROC.

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

11 years agoMade srpt compilation more silent.
bvassche [Fri, 23 Oct 2009 18:41:05 +0000 (18:41 +0000)]
Made srpt compilation more silent.

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

11 years agoThe patch below fixes the following category of checkpatch complaints:
vlnb [Fri, 23 Oct 2009 18:38:18 +0000 (18:38 +0000)]
The patch below fixes the following category of checkpatch complaints:
WARNING: externs should be avoided in .c files

The patch below has been tested by rerunning the following command
and by verifying its output:
scripts/run-regression-tests 2.6.26.8

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

11 years agoExclude unneeded code from the kernel patch generation
vlnb [Fri, 23 Oct 2009 18:02:25 +0000 (18:02 +0000)]
Exclude unneeded code from the kernel patch generation

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

11 years agoPossibility to reset SGV pools statistic added
vlnb [Fri, 23 Oct 2009 17:55:37 +0000 (17:55 +0000)]
Possibility to reset SGV pools statistic added

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

11 years agoRemove -c sed option, because it isn't available on all systems
vlnb [Fri, 23 Oct 2009 17:32:22 +0000 (17:32 +0000)]
Remove -c sed option, because it isn't available on all systems

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

11 years agoPrintk cleanups and minor fixes
vlnb [Fri, 23 Oct 2009 17:26:39 +0000 (17:26 +0000)]
Printk cleanups and minor fixes

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

11 years agoMajor numbers cleanup
vlnb [Fri, 23 Oct 2009 16:52:26 +0000 (16:52 +0000)]
Major numbers cleanup

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

11 years agoMinor output buffer size related fixes
vlnb [Fri, 23 Oct 2009 11:52:32 +0000 (11:52 +0000)]
Minor output buffer size related fixes

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

11 years agoAdded debug2perf and disable_proc configurations to the regression tests.
bvassche [Fri, 23 Oct 2009 10:57:36 +0000 (10:57 +0000)]
Added debug2perf and disable_proc configurations to the regression tests.

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

11 years agoCompiles now with CONFIG_SCST_PROC undefined.
bvassche [Fri, 23 Oct 2009 10:56:44 +0000 (10:56 +0000)]
Compiles now with CONFIG_SCST_PROC undefined.

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

11 years agoFixed a checkpatch complaint about trailing whitespace. Verified that the output...
bvassche [Fri, 23 Oct 2009 09:16:52 +0000 (09:16 +0000)]
Fixed a checkpatch complaint about trailing whitespace. Verified that the output of svn diff -x -w is empty for this modification.

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

11 years agoFixed whitespace-related checkpatch errors. Verified that the output of
bvassche [Fri, 23 Oct 2009 06:59:33 +0000 (06:59 +0000)]
Fixed whitespace-related checkpatch errors. Verified that the output of
svn diff -x -w is empty for this changeset.

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

11 years agoUpdated kernel versions 2.6.31.4 and 2.6.27.37 to 2.6.31.5 and 2.6.27.38 respectively.
bvassche [Fri, 23 Oct 2009 06:58:08 +0000 (06:58 +0000)]
Updated kernel versions 2.6.31.4 and 2.6.27.37 to 2.6.31.5 and 2.6.27.38 respectively.

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

11 years agoRe-enabled the debug2release build.
bvassche [Thu, 22 Oct 2009 19:14:47 +0000 (19:14 +0000)]
Re-enabled the debug2release build.

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

11 years agoPrepared switch to "make debug2release".
bvassche [Thu, 22 Oct 2009 19:05:21 +0000 (19:05 +0000)]
Prepared switch to "make debug2release".

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

11 years agoWhen command-line option -u is passed to scripts/generate-kernel-patch,
bvassche [Thu, 22 Oct 2009 18:26:19 +0000 (18:26 +0000)]
When command-line option -u is passed to scripts/generate-kernel-patch,
undefine the preprocessor symbol
CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION.

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

11 years agoISID 0 is perfectly valid.
vlnb [Thu, 22 Oct 2009 16:51:51 +0000 (16:51 +0000)]
ISID 0 is perfectly valid.

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

11 years agoCleanup: iscsi_is_key_declarative() name is misleading, iscsi_is_key_internal() is...
vlnb [Thu, 22 Oct 2009 16:40:38 +0000 (16:40 +0000)]
Cleanup: iscsi_is_key_declarative() name is misleading, iscsi_is_key_internal() is much better.

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

11 years agoFlush device's SGV cache in dev_user_unjam_dev() for faster cleanup.
vlnb [Thu, 22 Oct 2009 16:35:19 +0000 (16:35 +0000)]
Flush device's SGV cache in dev_user_unjam_dev() for faster cleanup.

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

11 years agoCheckpatch and sparse cleanups
vlnb [Thu, 22 Oct 2009 16:11:13 +0000 (16:11 +0000)]
Checkpatch and sparse cleanups

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

11 years agoLet's don't check if data should be copied between dev handler's and target driver...
vlnb [Thu, 22 Oct 2009 15:40:42 +0000 (15:40 +0000)]
Let's don't check if data should be copied between dev handler's and target driver's buffers on the fast path and make it a duty of a target driver who might need it.

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

11 years ago - Use vfs_readv/vfs_writev instead of direct calls to VFS functions
vlnb [Thu, 22 Oct 2009 15:19:11 +0000 (15:19 +0000)]
 - Use vfs_readv/vfs_writev instead of direct calls to VFS functions
 - Cleanups

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

11 years agoSet max_cmd_len correcty.
vlnb [Thu, 22 Oct 2009 15:17:38 +0000 (15:17 +0000)]
Set max_cmd_len correcty.

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

11 years agoUse of strict_strtoul() instead of simple_strtoul() as suggested by checkpatch. Other...
vlnb [Thu, 22 Oct 2009 12:58:55 +0000 (12:58 +0000)]
Use of strict_strtoul() instead of simple_strtoul() as suggested by checkpatch. Other uses of simple_strtoul() are OK and can't be converted

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

11 years agoDoc about additional 2.6.26.x commits updated.
vlnb [Thu, 22 Oct 2009 12:49:18 +0000 (12:49 +0000)]
Doc about additional 2.6.26.x commits updated.

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

11 years agoFrom ac2ef12020817c8e8edb7b4fe57f053c62cc833e Mon Sep 17 00:00:00 2001
vlnb [Thu, 22 Oct 2009 12:39:36 +0000 (12:39 +0000)]
From ac2ef12020817c8e8edb7b4fe57f053c62cc833e Mon Sep 17 00:00:00 2001
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
Date: Thu, 14 Aug 2008 09:39:35 -0700
Subject: qla2xxx: Set an rport's dev_loss_tmo value in a consistent manner.

[ Upstream commit 85821c906cf3563a00a3d98fa380a2581a7a5ff1 ]

As there's no point in adding a fixed-fudge value (originally 5
seconds), honor the user settings only.  We also remove the
driver's dead-callback get_rport_dev_loss_tmo function
(qla2x00_get_rport_loss_tmo()).

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Submitted by Gal Rosen <galr@storwize.com>

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

11 years agoFix incorrect WARN_ON()
vlnb [Thu, 22 Oct 2009 12:33:45 +0000 (12:33 +0000)]
Fix incorrect WARN_ON()

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

11 years agoFix compilation with enabled procfs on kernels <2.6.26. Sysfs from now will be suppor...
vlnb [Thu, 22 Oct 2009 12:32:40 +0000 (12:32 +0000)]
Fix compilation with enabled procfs on kernels <2.6.26. Sysfs from now will be supported only on kernels >=2.6.26.

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

11 years agoExperimental optimization. Suppose that if sock_recvmsg() returned less data than...
vlnb [Thu, 22 Oct 2009 12:06:07 +0000 (12:06 +0000)]
Experimental optimization. Suppose that if sock_recvmsg() returned less data than requested, then next time it will return -EAGAIN, so there's no point to call it again.

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

11 years agoOnly extract the kernel tree when it's needed, i.e. for the 2.6.26.* kernels.
bvassche [Wed, 21 Oct 2009 20:03:39 +0000 (20:03 +0000)]
Only extract the kernel tree when it's needed, i.e. for the 2.6.26.* kernels.

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

11 years agoAdded support for continued lines.
bvassche [Wed, 21 Oct 2009 19:45:35 +0000 (19:45 +0000)]
Added support for continued lines.

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