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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
bvassche [Wed, 21 Oct 2009 19:43:48 +0000 (19:43 +0000)]
Temporarily disabled release build testing.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1233
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 21 Oct 2009 17:41:26 +0000 (17:41 +0000)]
LUNs replace implemented
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1232
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 21 Oct 2009 17:14:27 +0000 (17:14 +0000)]
"Commands" attribute added for scst_user
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1231
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 21 Oct 2009 16:51:48 +0000 (16:51 +0000)]
qla2x00_schedule_rport_del() must used _irq[save,restore] spinlocks, because it can be called on the IRQ.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1230
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 21 Oct 2009 16:49:52 +0000 (16:49 +0000)]
Merge ... the sysfs branch. To enable the sysfs interface you should run "make disable_proc". To switch back on the procfs interface you should run "make disable_proc".
The sysfs intarface is mostly finished. Only initiators-oriented access control not implemented and not all target drivers are updated. Only qla2x00t has been fully updated.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1229
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 20 Oct 2009 18:40:06 +0000 (18:40 +0000)]
Fix for inconsistency in compile time warning about patch io_context for 2.6.26 kernel, noticed by Mark Buechler <mark.buechler@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1228
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 15 Oct 2009 15:56:57 +0000 (15:56 +0000)]
- Fix for a possible DoS, when misbehavine scst_user's handler hangs several memory allocations (= count of iSCSI read threads) and by so prevents other sessions from being served correctly. Spotted by Erez Zilber <erezzi.list@gmail.com>
- iSCSI read state machine cleanups
- Fix a race when just freed iSCSI session accessed, because the corresponding SCST session is still being unregistered.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1224
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Thu, 15 Oct 2009 07:48:39 +0000 (07:48 +0000)]
Fixed typo.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1220
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Thu, 15 Oct 2009 07:15:56 +0000 (07:15 +0000)]
Run a full check not only on the first specified kernel version but also on kernel version 2.6.26.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1219
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Thu, 15 Oct 2009 07:14:54 +0000 (07:14 +0000)]
Added variable generating_upstream_patch_defined. When set to 1, this
variable tells the script specialize-patch to treat the preprocessor
symbol GENERATING_UPSTREAM_PATCH as defined.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1218
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Thu, 15 Oct 2009 07:12:09 +0000 (07:12 +0000)]
Added command-line option -u to scripts/generate-kernel-patch, which has
the following effect:
- Exclude the put_page_callback patch.
- Enable #define GENERATING_UPSTREAM_PATCH.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1217
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Thu, 15 Oct 2009 07:09:40 +0000 (07:09 +0000)]
Made sure that the qla2x00t patches are only included in the output of
scripts/generate-kernel-patch for kernel version 2.6.26. As a result,
during the nightly build the qla2x00t code will only be checked with
checkpatch and sparse for the 2.6.26 kernel.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1216
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 14 Oct 2009 17:10:46 +0000 (17:10 +0000)]
Made sure that patch generation also works for other kernel versions than 2.6.26.8.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1215
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 14 Oct 2009 16:30:44 +0000 (16:30 +0000)]
From
20246fe8e4ea34f2ab556b7c50037b976051cab7 Mon Sep 17 00:00:00 2001
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
Date: Tue, 21 Oct 2008 20:25:04 +0200
Subject: SCSI: qla2xxx: Skip FDMI registration on ISP21xx/22xx parts.
commit
031e134e5f95233d80fb1b62fdaf5e1be587597c upstream
Firmware does not have the facilities to issue management server
IOCBs.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Ferenc Wagner <wferi@niif.hu>
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@1214
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 14 Oct 2009 16:29:08 +0000 (16:29 +0000)]
From
61c8bd1d3a9e7e57843d98d9b133fec77ecf4e1b Mon Sep 17 00:00:00 2001
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
Date: Mon, 29 Sep 2008 15:15:04 +0000
Subject: SCSI: qla2xxx: Defer enablement of RISC interrupts until ISP initialization completes.
commit
048feec5548c0582ee96148c61b87cccbcb5f9be upstream
Josip Rodin noted
(http://article.gmane.org/gmane.linux.ports.sparc/10152) the
driver oopsing during registration of an rport to the
FC-transport layer with a backtrace indicating a dereferencing of
an shost->shost_data equal to NULL. David Miller identified a
small window in driver logic where this could happen:
> Look at how the driver registers the IRQ handler before the host has
> been registered with the SCSI layer.
>
> That leads to a window of time where the shost hasn't been setup
> fully, yet ISRs can come in and trigger DPC thread events, such as
> loop resyncs, which expect the transport area to be setup.
>
> But it won't be setup, because scsi_add_host() hasn't finished yet.
>
> Note that in Josip's crash log, we don't even see the
>
> qla_printk(KERN_INFO, ha, "\n"
> " QLogic Fibre Channel HBA Driver: %s\n"
> " QLogic %s - %s\n"
> " ISP%04X: %s @ %s hdma%c, host#=%ld, fw=%s\n",
> ...
>
> message yet.
>
> Which means that the crash occurs between qla2x00_request_irqs()
> and printing that message.
Close this window by enabling RISC interrupts after the host has
been registered with the SCSI midlayer.
Reported-by: Josip Rodin <joy@entuzijast.net>
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@1213
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 14 Oct 2009 16:25:36 +0000 (16:25 +0000)]
From
1e42c5591e3a65ef36ea90c4461c09e78280417d Mon Sep 17 00:00:00 2001
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
Date: Wed, 14 Oct 2009 08:51:21 +0200
Subject: [PATCH] qla2xxx: Add dev_loss_tmo_callbk/terminate_rport_io callback support.
[ Upstream commit
5f3a9a207f1fccde476dd31b4c63ead2967d934f ]
Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
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@1212
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Wed, 14 Oct 2009 16:20:19 +0000 (16:20 +0000)]
- Add raw accumulated times in the latency statistics output
- Minor cleanup
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1211
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 14 Oct 2009 14:21:19 +0000 (14:21 +0000)]
Apply the 2.6.31 kmemcheck patch not only to current but also to future 2.6.31.* kernels since the change is small that the submitted patch will be integrated.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1210
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Wed, 14 Oct 2009 07:07:53 +0000 (07:07 +0000)]
Applied fix for sparse warning to 2.6.31.4 too.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1209
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Tue, 13 Oct 2009 19:52:46 +0000 (19:52 +0000)]
Updated kernel versions 2.6.27.36 and 2.6.31.3 to 2.6.27.37 and 2.6.31.4 respectively.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1208
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 13 Oct 2009 16:01:33 +0000 (16:01 +0000)]
Fix for problem with 2.6.31 kernel, where blk_rq_append_bio() was un-exported. So, from now scst_exec_req_fifo is again required for pass-through handlers.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1207
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 12 Oct 2009 17:40:55 +0000 (17:40 +0000)]
Updated Subversion ignore list.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1205
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 12 Oct 2009 17:40:24 +0000 (17:40 +0000)]
Made sure all per-hunk state variables are initialized properly.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1204
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 12 Oct 2009 17:17:03 +0000 (17:17 +0000)]
Reverted r1199: this revision was an attempt to eliminate the differences
in patch order between the systems on which this script is run. Since the
applied changes did not have any effect, I'm reverting this commit.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1203
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 12 Oct 2009 11:47:44 +0000 (11:47 +0000)]
Don't call target drivers on_free_cmd() for internal commands
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1201
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 12 Oct 2009 11:44:51 +0000 (11:44 +0000)]
Web fixes and updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1200
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 11 Oct 2009 16:18:21 +0000 (16:18 +0000)]
Sort patch names alphabetically.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1199
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 11 Oct 2009 15:54:04 +0000 (15:54 +0000)]
Reworked qla2x00t patch generation process:
- Moved qla2x00t patch generation code from qla2x00t/Makefile to
qla2x00t/extract-qla2xxx-orig and qla2x00t/generate-in-tree-patches.
Restored qla2x00t/Makefile to r1104.
- scripts/run-regression-tests now passes the full kernel version (including
patch level) to scripts/generate-kernel-patch.
- scripts/generate-kernel-patch can now generate patches for the files
in drivers/scsi/qla2xxx for any kernel version instead of only 2.6.26.8.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1198
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 11 Oct 2009 11:42:34 +0000 (11:42 +0000)]
Added a reference to the submitted kernel patch.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1197
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 11 Oct 2009 09:49:41 +0000 (09:49 +0000)]
Reduced disk space needed for nightly build.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1196
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 11 Oct 2009 09:48:36 +0000 (09:48 +0000)]
Added command-line option -k, which makes run-regression-tests consume
less disk space when running the regression test for multiple kernel
versions.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1195
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sun, 11 Oct 2009 09:22:50 +0000 (09:22 +0000)]
Updated kernel version 2.6.30.2 to 2.6.30.3.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1194
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 10 Oct 2009 18:04:02 +0000 (18:04 +0000)]
Added a kernel patch for a 2.6.31 regression.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1193
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 10 Oct 2009 17:55:37 +0000 (17:55 +0000)]
Made sure that ls does not print an error message when no matches are
found for the specified file pattern.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1192
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Sat, 10 Oct 2009 14:55:18 +0000 (14:55 +0000)]
Inhibit building the qla2x00t targets in parallel because this produces incorrect results.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1191
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Fri, 9 Oct 2009 07:11:34 +0000 (07:11 +0000)]
Applied property changes necessary to make the changes in r1189 work.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1190
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 8 Oct 2009 16:53:17 +0000 (16:53 +0000)]
The current status of the QLogic target driver in the SCST project is as
follows:
- Building the QLogic target driver is possible by following the instructions
in qla2x00t/qla2x00-target/README.
- Some but not all of the qla2x00-target code is included in the output of
scripts/generate-kernel-patch. This is unfortunate because it is the output
of this script that is posted to the LKML each time SCST is submitted for
review.
- Most of the qla2x00-target code is checked during the nightly build by
checkpatch. None of the qla2x00-target code is checked during the nightly
build by sparse.
The patch below makes sure that all of the qla2x00-target code is included in
the generate-kernel-patch output and also that all of the qla2x00-target code
is checked during the nightly build by both checkpatch and sparse. This has
been realized by including the diff of the linux-2.6.26.8/drivers/scsi/qla2xxx
source files and the source files in qla2x00t/*[ch] as individual patches under
qla2x00t/in-tree-patches. These patches are generated from downloaded
linux-2.6.26.8 sources and the sources in the SCST SVN repository.
The next step is to fix the checkpatch and sparse warnings triggered by the
qla2x00-target code and to port the latest qla2xxx patches to the SCST
qla2x00t implementation.
Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1189
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 8 Oct 2009 16:24:47 +0000 (16:24 +0000)]
Fix for 2 typos noticed by Gal Rosen <galr@storwize.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1188
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 8 Oct 2009 13:44:55 +0000 (13:44 +0000)]
Docs and web updates
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1187
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Thu, 8 Oct 2009 13:01:45 +0000 (13:01 +0000)]
Web updates and fixes
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1186
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 6 Oct 2009 19:00:25 +0000 (19:00 +0000)]
A better fix for incorrect size of port_data_t and mb[8] for MBC_PORT_NODE_NAME_LIST problem.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1185
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 6 Oct 2009 17:43:55 +0000 (17:43 +0000)]
Cleanup
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1184
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Tue, 6 Oct 2009 14:32:17 +0000 (14:32 +0000)]
Some cleanups with a micro performance improvement as a nice side effect.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1182
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
bvassche [Mon, 5 Oct 2009 19:49:39 +0000 (19:49 +0000)]
Updated kernel versions 2.6.27.35, 2.6.30.8 and 2.6.31.1 to 2.6.27.36,
2.6.30.9 and 2.6.31.2 respectively.
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1181
d57e44dd-8a1f-0410-8b47-
8ef2f437770f
vlnb [Mon, 5 Oct 2009 19:00:27 +0000 (19:00 +0000)]
Patch from Richard Sharpe <realrichardsharpe@gmail.com> fixing incorrect SCST include path
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1180
d57e44dd-8a1f-0410-8b47-
8ef2f437770f