Commit Graph

2090 Commits

Author SHA1 Message Date
Bart Van Assche
6ace2a37bc Avoid that sparse complains on the scst_local source code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 15:27:33 +00:00
Bart Van Assche
843a38dddd Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 10:47:48 +00:00
Bart Van Assche
507b7f0ae7 Reverted recently introduced #if/#elif handling changes because these were wrong.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 09:36:10 +00:00
Bart Van Assche
efc9328ff7 Further ibmvstgt/scsi_tgt patch description refinements.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 07:59:17 +00:00
Bart Van Assche
85f3cd4f87 Removed empty Signed-off-by line / elaborated ibmvstgt patch description.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 19:13:32 +00:00
Bart Van Assche
7b4e0f104a Added ibmvstgt and scsi_tgt patch descriptions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 17:29:44 +00:00
Bart Van Assche
cc7d5a51ee Cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2282 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 16:36:18 +00:00
Bart Van Assche
3469bfaa9d Bug fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 16:24:11 +00:00
Bart Van Assche
ad27ac341d patch header parsing bug fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 10:40:53 +00:00
Bart Van Assche
7194bcd3b1 Added command-line option -s: disable patch specialization.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 09:38:44 +00:00
Bart Van Assche
c9ad2e7a7b Changes:
- Process #elif directives correctly (doesn't affect the current SCST source code).
- Do not remove double blank lines from documentation files.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-26 09:37:27 +00:00
Bart Van Assche
c11a96382e Added a warning that the kernel tree generated by scripts/generate-kernel-with-srp-patches is not suited for general use.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2275 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:40:19 +00:00
Vladislav Bolkhovitin
9083a1facd Remove checking of rel_tgt_id on disabling targets
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2274 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:35:29 +00:00
Vladislav Bolkhovitin
864d4b38c7 Fix possible deadlock on waiting on blocking. As a side effect it leaded to a nice cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2272 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:25:32 +00:00
Bart Van Assche
f14cd777f7 Updated script description.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 16:44:33 +00:00
Bart Van Assche
21225d8d71 Added Jens' block layer optimization patches, resulting in an additional 10% improvement.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 16:30:20 +00:00
Bart Van Assche
fe82da8cb2 Removed scsi host lock entirely from the command queueing path. Improves
maximum IOPS by about 2.5%.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2269 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 15:58:44 +00:00
Bart Van Assche
99bfb0c117 Build ibmvstgt.ko too on PowerPC systems.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2268 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 11:03:57 +00:00
Bart Van Assche
b46575a6ee Builds now on PowerPC systems too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2267 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 10:33:08 +00:00
Bart Van Assche
b638590476 Removed automatically generated Signed-off-by: ... line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2266 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:17:01 +00:00
Bart Van Assche
e99d621185 Fixed bug in handling of #else statements matching an #if statement that could
be evaluated partially.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:16:26 +00:00
Bart Van Assche
e10b167288 Added --no-tree option to checkpatch such that checkpatch does not check for the Signed-off-by: ... line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2264 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 09:05:49 +00:00
Bart Van Assche
36bd458d57 Further diff minimizing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2263 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:45:09 +00:00
Bart Van Assche
1b3fff1df4 Moved scsi_tgt removal to a separate patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:44:39 +00:00
Bart Van Assche
9ece28c4f5 Added an additional expression to the list of recognized expressions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:44:02 +00:00
Mark Buechler
1c9d0cf043 - Fix init script for qla2x00t
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2259 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:27:46 +00:00
Bart Van Assche
0ed0b1f709 Reapplied r2249 (was lost by moving constants from scst.h to scst_const.h.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:21:28 +00:00
Mark Buechler
5425237908 - Last commit should have been 'Disable driver on clear_config'. Remove debugging code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2256 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:16:32 +00:00
Mark Buechler
dcd3ebb285 - Disable targets on -clear_config.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2255 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:13:31 +00:00
Bart Van Assche
6e35445b98 Moved the UNMAP and BLKDISCARD definitions from scst.h to scst_const.h.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2254 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:39:40 +00:00
Bart Van Assche
7dd5436e15 Fixed a checkpatch complaint about whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:32:44 +00:00
Vladislav Bolkhovitin
83e1bd97da As is clear from the output of the nightly build, sparse goes crazy on the
current scst_vdisk.c code: it reports 99 times "cast removes address space of
expression" on the same scst_vdisk.c line before giving up. The patch below
makes sparse stop complaining on scst_vdisk.c.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:21:35 +00:00
Vladislav Bolkhovitin
02f27457c0 Update sample scripts to run scstadmin
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:15:56 +00:00
Bart Van Assche
50f64cc7ca Builds now on 2.6.27 too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2249 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:15:14 +00:00
Bart Van Assche
986844622a Fixed a performance regression caused by r2109.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2248 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:07:17 +00:00
Bart Van Assche
bc2d0d32f1 Builds now with procfs enabled too / fixed two compiler warnings.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2247 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 18:08:24 +00:00
Bart Van Assche
e77a5e5072 Build fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 18:01:57 +00:00
Bart Van Assche
487a846ef8 Follow-up for r2216: made sure that scst_vdisk.c compiles again on kernels before 2.6.33.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2245 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:59:42 +00:00
Bart Van Assche
fc27d91219 Fixed a mismatch between a format string and its argument list (was reported by sparse).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:23:37 +00:00
Mark Buechler
f519990ab2 - Add README.iscsi in init.d.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2243 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:11:31 +00:00
Mark Buechler
a75f4f934c - Disable targets on -clear_config.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2242 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:49:59 +00:00
Mark Buechler
6522a519fd - Small typo fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2241 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:37:20 +00:00
Mark Buechler
5b9c8b0399 - Don't attempt to read write-only attributes within sessions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2240 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:30:16 +00:00
Mark Buechler
a2e1e877cf - Better fix for removing virtual targets.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:15:57 +00:00
Mark Buechler
9e1fbc199f - Fix removing virtual targets.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2238 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 15:07:56 +00:00
Vladislav Bolkhovitin
f9ed5611d8 Fix for incorrect initialization of conn->read_msg.msg_iovlen. But looks like this value is rather ignored in the TCP stack and read_size used instead, so all worked fine.
Noticed by yue <ooolinux@163.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 14:40:32 +00:00
Vladislav Bolkhovitin
c7c2aa55e4 Fix possible crash if expected values not set
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 12:40:43 +00:00
Vladislav Bolkhovitin
27ba7c24d8 Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 12:22:02 +00:00
Bart Van Assche
5cdc79b698 Replaced cpu_to_be...() by __constant_cpu_to_be...() where appropriate.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 07:12:27 +00:00
Bart Van Assche
4a9ed0a7e1 Replaced cpu_to_be...() by __constant_cpu_to_be...() where appropriate.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 07:10:42 +00:00