Bart Van Assche
2df8fb30d5
Whitespace-only changes: addressed most whitespace complaints reported by the 2.6.36 checkpatch tool.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 13:10:15 +00:00
Bart Van Assche
56d40a5505
Patch header update for the 2.6.36 patches (does not build yet !)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:22:28 +00:00
Bart Van Assche
3667335dca
Copied and renamed the 2.6.35 in-tree files (does not build yet!).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2429 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:20:34 +00:00
Bart Van Assche
6f7e19586a
ibmvstgt: Switched to kernel version 2.6.36.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2428 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:01:04 +00:00
Bart Van Assche
deceabc0cf
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 11:41:42 +00:00
Vladislav Bolkhovitin
690c14066f
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2425 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 19:38:34 +00:00
Vladislav Bolkhovitin
d302ce64ab
Patch from Uri Yanai <Uri.Yanai@ngsoft.com> fixing handling of global events in IMMED_NOTIFY handler
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2424 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 18:59:41 +00:00
Vladislav Bolkhovitin
cfa90dc087
Fix possible crash on ABORT TASK SET TM command
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2422 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 18:39:00 +00:00
Vladislav Bolkhovitin
c966f14eae
scst_pre_parse() must be called before scst_cmd_set_sn() to correctly process implicit HQ and ORDERED commands, so move it to __scst_init_cmd(). As consequence, SCST_CMD_STATE_PRE_PARSE state isn't needed anymore, hence remove it.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2420 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 18:23:08 +00:00
Bart Van Assche
31a346125d
Moved SCST to the end of drivers/Makefile, such that it is loaded and initialized after all other storage drivers.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2417 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-16 16:37:03 +00:00
Bart Van Assche
a05edc63c1
iSCSI-SCST: Added missing LIBCRC32C dependency.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2416 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-16 16:36:00 +00:00
Bart Van Assche
e4e8947c8d
ibmvstgt: Generate clean patches, even if the input contains #ifdefs on LINUX_VERSION_CODE.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2415 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-16 14:39:52 +00:00
Vladislav Bolkhovitin
1af1e674d4
Patch from Dorit Halsadi <Dorit.Halsadi@dothill.com> and Uri Yanai <Uri.Yanai@ngsoft.com> adding NPIV support to the SCST Target driver for Qlogic 24xx/25xx Fibre Channel cards
...
with minor fixes.
Note: you need NPIV-supporting firmware as well as NPIV-supporting switches to use NPIV.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2408 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 18:11:22 +00:00
Mark Buechler
a2dc603642
- Differentiate between hardware and virtual targets within the config file when using mixed type drivers.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2407 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 14:39:12 +00:00
Vladislav Bolkhovitin
2b1490584c
Merge of r2395 by Bart Van Assche <bvanassche@acm.org>:
...
The kernel module iscsi_scst loads again on RHEL 5 (Fixed "iscsi_scst: Unknown symbol set_cpus_allowed_ptr").
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2406 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 14:32:00 +00:00
Vladislav Bolkhovitin
f6da0ea9c5
Fix for 2 possible crash scenarios one of which reported by 陳 七嘉 <volcom721@hotmail.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2405 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 14:27:29 +00:00
Vladislav Bolkhovitin
19c072ec86
Small Tree Communications added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2400 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-11 19:35:29 +00:00
Bart Van Assche
bfea7d336b
Works now on RHEL 5 too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-11 17:39:12 +00:00
Mark Buechler
961f45ee92
- Fix virtual targets for drivers which also support hardware targets.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2392 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-11 16:24:51 +00:00
Bart Van Assche
a75d3cc2c3
ib_srpt: Documentation update.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-10 11:33:29 +00:00
Bart Van Assche
5f2c6acabf
Added kernel version to patch directory name.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2386 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-09 16:09:04 +00:00
Bart Van Assche
bb540fa9f8
ib_srpt: Removed an unused variable.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2379 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-09 07:25:55 +00:00
Bart Van Assche
26f9165b48
Made sure that sparse can process scst.h. Apparently there is a bug in sparse which makes sparse interpret single quotes in preprocessor statements as character delimiters.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2378 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 19:40:18 +00:00
Vladislav Bolkhovitin
cef1b4cdff
The changes included in the patch below are:
...
- If someone tries to build SCST on an RHEL 5 system without having
run 'make enable_proc' first, complain.
- Do not define set_cpus_allowed_ptr() on RHEL 5 since RHEL 5 does
have a declaration for this function.
The function itself is not exported from the kernel however (this is probably a bug). Because of that, replace
the call to set_cpus_allowed_ptr() in scst_main.c by a call to set_cpus_allowed().
- Do not define the variable 'err' on kernels where that variable is
not used in order to avoid a compiler warning.
- Also in scst_vdisk.c, pass a 16-bit value as the first argument of
put_unaligned() when writing to a 16-bit variable in order to avoid a compiler warning.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
with fixes and additions:
- In scst_vdisk.c we need 32-bit values, not 16, fixed
- Optimal UNMAP granuality changed to 1.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 19:30:39 +00:00
Bart Van Assche
5606dcc10e
Updated test procedure.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 19:21:00 +00:00
Bart Van Assche
ac5a366941
ib_srpt: Further improved robustness against HCA firmware bugs.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2375 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 19:02:35 +00:00
Vladislav Bolkhovitin
e32b9a721e
Fixes 2 iSNS server initialization problems noticed by Tan Eric <Eric.Tan@bdt-cn.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2373 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 18:10:12 +00:00
Bart Van Assche
8337c3b35a
Fixed a bug that was introduced in r2366.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2370 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 16:37:16 +00:00
Vladislav Bolkhovitin
f245543a36
Cleanup of support of kernels prior 2.6.18
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2368 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 13:01:15 +00:00
Bart Van Assche
5688aec792
Updated Subversion ignore list.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2367 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 10:43:15 +00:00
Bart Van Assche
e5d1af7b12
Rearranged SCST patch order.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2366 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 10:40:24 +00:00
Bart Van Assche
8fdcfcef96
Don't generate empty patches.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 10:35:32 +00:00
Bart Van Assche
16436f232a
Backported to RHEL 5.5 (compile-tested only).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2364 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-07 17:20:51 +00:00
Bart Van Assche
b67e6a893f
Rearranged names and contents of the broken-out SCST patchset.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-07 10:58:45 +00:00
Bart Van Assche
6e152a3be1
#elif handling should now really be correct.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2362 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 20:26:38 +00:00
Bart Van Assche
89a2090064
Fixed a bug in #elif handling.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 19:58:06 +00:00
Vladislav Bolkhovitin
b4dfb7cda6
Unsupported (yet) patch making QLA adapters behave in the target mode from the very beginning with description from Bryan Mesich <bryan.mesi
...
ch@ndsu.edu >.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:51:51 +00:00
Bart Van Assche
9eac25591f
If option -p has been specified, run checkpatch on the split out patches instead
...
of the single large patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:25:58 +00:00
Bart Van Assche
6ced6c5338
Added command-line option -p: apply SCST as multiple patches to the Linux kernel instead of a single patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:06:07 +00:00
Bart Van Assche
160be2c30a
Reverted r2327 because it is no longer necessary.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 17:52:28 +00:00
Bart Van Assche
b5c8cdb121
Bug fix: made sure that nested invocations of process_patch() do not overwrite each others output.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 17:50:50 +00:00
Vladislav Bolkhovitin
56b82883b1
Let's make check for SCST_PR_DIR not global, but per created device, because it's more reliable and flexible.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 12:26:11 +00:00
Bart Van Assche
d23c7b3b85
ibmvstgt: started backporting.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 11:02:24 +00:00
Bart Van Assche
7c399c3226
Fixed checkpatch complaints about whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2352 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 10:30:54 +00:00
Vladislav Bolkhovitin
d7e087e3b2
Minor extended CDBs handling cleanups and fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2351 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 20:06:54 +00:00
Vladislav Bolkhovitin
6d0fc28d20
Fix compilation on kernels between 2.6.28 and 2.6.34 inclusive.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 19:09:08 +00:00
Vladislav Bolkhovitin
2370609897
Minor cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 18:45:20 +00:00
Bart Van Assche
6f6b0a4acd
ib_srpt: Updated test instructions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2348 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 16:55:32 +00:00
Bart Van Assche
4009410ce2
Further lock contention reduction / exported max_host_blocked.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-04 17:05:10 +00:00
Bart Van Assche
92b70d4f83
ib_srpt: Report firmware bugs instead of silently ignoring these.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2346 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-04 16:57:03 +00:00