Vladislav Bolkhovitin
96a87fae3f
Axxana added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-26 11:00:23 +00:00
Bart Van Assche
12c4889bfa
Option -f is now a per-kernel option instead of a global option.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:28:02 +00:00
Bart Van Assche
9d89f0a77f
Updated copyright statement.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:27:17 +00:00
Bart Van Assche
9b1c4bd639
TRACE_ENTRY() / TRACE_EXIT*() statements are now filtered from the output
...
when option -u has been specified.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:26:49 +00:00
Bart Van Assche
0c9d80e58e
- TRACE_EXIT_HRES() statements are now also filtered.
...
- Hunk headers are now updated properly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 13:25:10 +00:00
Bart Van Assche
4b26187063
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 12:39:10 +00:00
Bart Van Assche
692fd09174
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: http://svn.code.sf.net/p/scst/svn/trunk@1273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:56:54 +00:00
Bart Van Assche
a0aec0ddc1
Added per-kernel options -nc and -ns, which allow to disable the
...
checkpatch and the sparse run respectively.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 10:33:09 +00:00
Bart Van Assche
0c3c7bc193
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: http://svn.code.sf.net/p/scst/svn/trunk@1271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:46:40 +00:00
Bart Van Assche
773146af26
Added and commented out -DCONFIG_SCST_TRACING.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:39:55 +00:00
Bart Van Assche
87be4a7213
More #undef CONFIG_SCST_PROC fixes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1269 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:39:27 +00:00
Bart Van Assche
a85024917f
Fixed a sparse warning.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-25 09:31:26 +00:00
Stanislaw Gruszka
28dacdaebb
Tag final release.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1267 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-24 15:31:32 +00:00
Stanislaw Gruszka
1d47370f17
Note about qla2x00t in README.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1266 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-24 15:30:25 +00:00
Bart Van Assche
51892c42d8
The generate-kernel-patch option -u does now enable #undef CONFIG_SCST_PROC.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-24 07:48:44 +00:00
Bart Van Assche
049293249b
Made srpt compilation more silent.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1264 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 18:41:05 +00:00
Vladislav Bolkhovitin
350542a8cf
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: http://svn.code.sf.net/p/scst/svn/trunk@1263 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 18:38:18 +00:00
Vladislav Bolkhovitin
f999f978ee
Exclude unneeded code from the kernel patch generation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 18:02:25 +00:00
Vladislav Bolkhovitin
7009a257f0
Possibility to reset SGV pools statistic added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 17:55:37 +00:00
Vladislav Bolkhovitin
36104c26c2
Remove -c sed option, because it isn't available on all systems
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1260 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 17:32:22 +00:00
Vladislav Bolkhovitin
e972601875
Printk cleanups and minor fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1259 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 17:26:39 +00:00
Vladislav Bolkhovitin
42b25258f9
Major numbers cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1258 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 16:52:26 +00:00
Vladislav Bolkhovitin
ac29495cee
Minor output buffer size related fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 11:52:32 +00:00
Bart Van Assche
b08548b174
Added debug2perf and disable_proc configurations to the regression tests.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 10:57:36 +00:00
Bart Van Assche
942aef8387
Compiles now with CONFIG_SCST_PROC undefined.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1255 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 10:56:44 +00:00
Bart Van Assche
2d90ba1a1e
Fixed a checkpatch complaint about trailing whitespace. Verified that the output of svn diff -x -w is empty for this modification.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1254 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 09:16:52 +00:00
Bart Van Assche
0af5e1b9e3
Fixed whitespace-related checkpatch errors. Verified that the output of
...
svn diff -x -w is empty for this changeset.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 06:59:33 +00:00
Bart Van Assche
b9916d6e55
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: http://svn.code.sf.net/p/scst/svn/trunk@1252 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-23 06:58:08 +00:00
Bart Van Assche
f1c41721ea
Re-enabled the debug2release build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:14:47 +00:00
Bart Van Assche
ef11d133df
Prepared switch to "make debug2release".
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 19:05:21 +00:00
Bart Van Assche
64803db9f1
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: http://svn.code.sf.net/p/scst/svn/trunk@1249 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 18:26:19 +00:00
Vladislav Bolkhovitin
7edf6fffdf
ISID 0 is perfectly valid.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1248 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 16:51:51 +00:00
Vladislav Bolkhovitin
e16c451c44
Cleanup: iscsi_is_key_declarative() name is misleading, iscsi_is_key_internal() is much better.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1247 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 16:40:38 +00:00
Vladislav Bolkhovitin
95f10bd7ca
Flush device's SGV cache in dev_user_unjam_dev() for faster cleanup.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 16:35:19 +00:00
Vladislav Bolkhovitin
83c20d9344
Checkpatch and sparse cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1245 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 16:11:13 +00:00
Vladislav Bolkhovitin
29feda5143
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: http://svn.code.sf.net/p/scst/svn/trunk@1244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 15:40:42 +00:00
Vladislav Bolkhovitin
6606bb50de
- Use vfs_readv/vfs_writev instead of direct calls to VFS functions
...
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1243 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 15:19:11 +00:00
Vladislav Bolkhovitin
173e97d2bd
Set max_cmd_len correcty.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1242 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 15:17:38 +00:00
Vladislav Bolkhovitin
b665918dea
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: http://svn.code.sf.net/p/scst/svn/trunk@1241 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 12:58:55 +00:00
Vladislav Bolkhovitin
b65169a791
Doc about additional 2.6.26.x commits updated.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1240 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 12:49:18 +00:00
Vladislav Bolkhovitin
ed5513284c
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: http://svn.code.sf.net/p/scst/svn/trunk@1239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 12:39:36 +00:00
Vladislav Bolkhovitin
f01c5a9355
Fix incorrect WARN_ON()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1238 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 12:33:45 +00:00
Vladislav Bolkhovitin
54b99faafa
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: http://svn.code.sf.net/p/scst/svn/trunk@1237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 12:32:40 +00:00
Vladislav Bolkhovitin
9c10f10b00
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: http://svn.code.sf.net/p/scst/svn/trunk@1236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-22 12:06:07 +00:00
Bart Van Assche
a8414808ab
Only extract the kernel tree when it's needed, i.e. for the 2.6.26.* kernels.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 20:03:39 +00:00
Bart Van Assche
7c9a154e05
Added support for continued lines.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 19:45:35 +00:00
Bart Van Assche
99d9057717
Temporarily disabled release build testing.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 19:43:48 +00:00
Vladislav Bolkhovitin
ad475b15a9
LUNs replace implemented
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 17:41:26 +00:00
Vladislav Bolkhovitin
ef50e616e0
"Commands" attribute added for scst_user
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 17:14:27 +00:00
Vladislav Bolkhovitin
a09681b1fb
qla2x00_schedule_rport_del() must used _irq[save,restore] spinlocks, because it can be called on the IRQ.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-10-21 16:51:48 +00:00