Bart Van Assche
803bae6fb8
scripts/specialize-patch: Remove #elif 0 sections from the output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 07:47:32 +00:00
Bart Van Assche
4eebec2e1b
Update according to new kernel.org directory tree structure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 08:07:38 +00:00
Bart Van Assche
dbc55781d7
Add remaining Linux kernel 3.0 patches and port nightly build scripts to 3.0 too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3783 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 14:05:47 +00:00
Vladislav Bolkhovitin
7096e492ba
Improve changing debug/release/etc states by making them not depending
...
from the previous state. Hence, the corresponding labels were renamed to
2debug, 2release and 2perf.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 23:10:08 +00:00
Bart Van Assche
beeef55b6f
Use __packed instead of __attribute__((packed)).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3500 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 10:40:07 +00:00
Bart Van Assche
2a12a99cff
scripts/run-regression-tests: echo "FAILED" if compilation failed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3453 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 10:40:40 +00:00
Vladislav Bolkhovitin
e1447ae241
Add implicit ALUA support. On a setup with more than one target port
...
(sometimes called storage head) this patch makes it possible to tell the
initiator which port to use. Since that information can be specified per LUN,
with this patch it is not only possible to tell the initiator which path to
choose but also to balance the load over target ports. Target port attributes
can not only be defined for target ports that exist on the system on which
SCST is running but also for target ports present on other nodes of the same
HA setup. As far as I know this feature is unique among open source storage
target implementations.
Note: with this patch SCSI target port attributes can be defined for each LUN
defined on each SCST target individually. Such an SCST target is either a
physical entity (e.g. a HCA for the ib_srpt driver) or a logical entity (e.g.
an iSCSI target for the iscsi_scst driver). In the last case it is up to the
user to make sure that there is a one-to-one relationship between SCST target
and SCSI target port.
This patch is based on the specifications in the ANSI T10 spc4r30 document.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3446 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-11 02:22:48 +00:00
Bart Van Assche
fb9ea53977
Expand CONFIG_SCST_PROC too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3433 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-01 09:14:06 +00:00
Bart Van Assche
0e25f070ea
Bug fix: do not try to apply patch readahead-2.6.32.below11.patch on kernel 2.6.32.11 or any later 2.6.32 kernel.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-30 17:42:23 +00:00
Bart Van Assche
af0a496e57
Added the srpt pre-cflags patch to the nightly build.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3372 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 10:51:58 +00:00
Bart Van Assche
361cc3f91c
Renamed sgv_cache.txt into sgv_cache.sgml.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3318 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-28 16:26:03 +00:00
Bart Van Assche
3b7a256515
Added support for longterm kernels.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-22 17:57:10 +00:00
Bart Van Assche
05555fb255
Bug fix.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3296 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-22 17:56:49 +00:00
Bart Van Assche
ec22199d8b
Try to obtain kernel patches from the longterm directory if not found in the usual directory.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-14 17:05:30 +00:00
Bart Van Assche
49d6385405
Disable tracing when running regression tests because sparse chokes on the code in the tracing macros.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3193 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:28:58 +00:00
Bart Van Assche
e40875d9b9
specialize-patch: Generalized a pattern.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:12:14 +00:00
Bart Van Assche
5fe037e5b9
Updated my e-mail address in copyright statements and README files.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Bart Van Assche
099e3d746d
Corrected patch numbers.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3147 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-20 14:22:48 +00:00
Bart Van Assche
fe247fde3b
Get rid of sparse errors on sk_buff.protocol.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2970 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-07 18:51:37 +00:00
Bart Van Assche
c75f68247a
Reverted r2748 because it might offend some people.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-04 09:22:00 +00:00
Vladislav Bolkhovitin
2e9f15f2d7
Some ibmvstgt patch description improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2748 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-18 20:33:14 +00:00
Bart Van Assche
184fd83fc3
ibmvstgt: Updated patch description once more.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2746 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-17 19:53:09 +00:00
Bart Van Assche
2eabb7e89b
Switched from I/O engine sync to psync because the latter has a slightly lower system call overhead.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-17 19:24:38 +00:00
Bart Van Assche
e66128f414
Added yet another pattern to the preprocessor statement partial evaluation engine.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-14 16:16:15 +00:00
Bart Van Assche
e0ca9738d9
Yet another patch description update.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 14:40:50 +00:00
Bart Van Assche
ec1c78413a
More patch description updates.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 13:54:20 +00:00
Bart Van Assche
4a6d63f71a
Updated patch descriptions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 12:53:29 +00:00
Bart Van Assche
a9663949f0
Patch generation scripts: Fixed a typo.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 14:50:37 +00:00
Bart Van Assche
64b2df03e4
ibmvstgt patch description: Separated porting changes from other changes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 13:23:30 +00:00
Bart Van Assche
b3364e18ba
ibmvstgt: Patch description update.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2666 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 13:17:50 +00:00
Bart Van Assche
57d7323e00
ibmvstgt: Updated documentation.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 12:40:57 +00:00
Bart Van Assche
1f2cedce37
Merged scripts directory from ibmvstgt-port branch (svn merge -r2369:2654 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/scripts ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 09:26:44 +00:00
Vladislav Bolkhovitin
b259ba00f4
Fix for RESERVE command line
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 12:43:09 +00:00
Bart Van Assche
97913313fc
svn merge -c2566 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 11:38:46 +00:00
Bart Van Assche
1a4dc2afa0
Works again.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 10:57:33 +00:00
Bart Van Assche
91aec29858
svn merge -r2369:2520 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/scripts
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-31 10:54:36 +00:00
Bart Van Assche
9ffcfc0aa2
generate-kernel-patch: The blank line after TRACE_ENTRY() is now removed too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2505 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 13:33:49 +00:00
Bart Van Assche
bda82476ad
Added per-kernel option -i.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2439 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 18:25:10 +00:00
Bart Van Assche
9c20ed6584
Process tabs properly.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2432 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 14:06:51 +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
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
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
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
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
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