Commit Graph

280 Commits

Author SHA1 Message Date
Bart Van Assche
0f4fe4623d rebuild-rhel-kernel-rpm: Add support for the 2.6.32-220.* kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4338 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-08 14:22:49 +00:00
Bart Van Assche
52cc71c5ef scripts/rebuild-rhel-kernel-rpm: Make this script work when started with a relative path
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4206 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-12 12:20:31 +00:00
Bart Van Assche
06a0643d73 nightly build: Skip fcst for kernel versions 2.6.37 and 2.6.38
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4187 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-04 12:53:44 +00:00
Bart Van Assche
f54a1e1c01 nightly build: Remove a kernel patch again
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4185 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-03 17:38:47 +00:00
Bart Van Assche
6a6fe9af43 nightly build: Build fcst against recent kernels too / fix a sparse warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4184 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-03 17:00:08 +00:00
Bart Van Assche
13e3b5265c Remove scripts/generate-kernel-with-srp-patches since all code in it is now upstream
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-11 10:25:55 +00:00
Bart Van Assche
f2c201ee09 Add scripts/generate-scst-patch, which is based on a script posted on scst-devel by Chetan Loke
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4120 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-11 10:23:59 +00:00
Bart Van Assche
25ccc656d9 rebuild-rhel-kernel-rpm: Pass %_topdir to all rpm commands, just to be sure.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4115 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-05 20:28:38 +00:00
Bart Van Assche
3f2b4e531c scripts/rebuild-rhel-kernel-rpm: Update CentOS SRPM URLs and use rpmbuild --define instead of modifying $HOME/.rpmmacros.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4114 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-05 19:30:37 +00:00
Bart Van Assche
c3fb0dd2b9 nightly build: Include scst_proc.c only if necessary
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-23 15:15:52 +00:00
Bart Van Assche
9de7980a91 nightly build: Revert r4088 - scst_proc.c is needed in order to build with against an older kernel version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4089 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-23 09:42:40 +00:00
Bart Van Assche
90f845c9d6 nightly build: Ignore procfs code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-22 12:56:17 +00:00
Bart Van Assche
e0d291a9f7 scripts/run-regression-tests: Check sparse exit code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4070 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-13 14:22:55 +00:00
Bart Van Assche
6c205d7ff0 Nightly build: make scripts work again for base level kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4055 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-07 10:52:28 +00:00
Bart Van Assche
5f70fd80b2 Switch back to the previous approach of base tar ball + patch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4053 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-07 09:40:58 +00:00
Bart Van Assche
597b7244ff Rename scripts/kernel-version into scripts/kernel-functions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4051 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-07 09:13:48 +00:00
Bart Van Assche
f2127c015f Move more shared code into scripts/kernel-version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4050 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-07 09:06:24 +00:00
Bart Van Assche
3f876d0ce6 Update because of kernel.org reorganization
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4049 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-06 18:57:13 +00:00
Bart Van Assche
c8fcd3d082 nightly build: include fcst for kernel version 2.6.37 and later
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 09:58:09 +00:00
Bart Van Assche
da14ec2aa4 Simplify two expressions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4002 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 14:55:57 +00:00
Bart Van Assche
a5c6ff869a Make run-regression-tests work with older tar versions that do not support xz
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4000 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 14:23:33 +00:00
Bart Van Assche
bad8f4498d Nightly build: the directory structure on ftp.kernel.org has been modified once more. Update scripts/run-regression-tests accordingly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3998 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-16 10:16:12 +00:00
Bart Van Assche
50a3bb6e48 regtests: Use correct kernel.org longterm directory
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-17 17:55:22 +00:00
Bart Van Assche
3581251728 regtests: Do not complain if a patch has not been found
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-17 17:54:41 +00:00
Bart Van Assche
20f64c4e7e regtests: Fix a copy/paste bug in the #if ... partial evaluation code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3930 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-17 10:36:03 +00:00
Bart Van Assche
1deb603ee6 regtest: Another update because of the kernel.org directory structure changes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-16 19:49:44 +00:00
Bart Van Assche
dd2d8271dd regtests: Reflect kernel.org directory tree changes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3924 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-16 18:50:24 +00:00
Bart Van Assche
58a2b2ece8 Set executable property
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3891 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-10-05 17:15:39 +00:00
Bart Van Assche
74264389cd scst: Add script for rebuilding RHEL / CentOS / Scientific Linux kernel RPMs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3890 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-10-05 17:14:23 +00:00
Bart Van Assche
9118d7c71f Nightly build: include the latency measuring code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-28 17:42:50 +00:00
Bart Van Assche
d554d56423 scripts/specialize-patch: Make sure that checkpatch doesn't complain about space after operator \!
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3812 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 12:22:31 +00:00
Bart Van Assche
de8bc79ae0 scripts/filter-trace-entry-exit: Filter out "return;" statements at the end of a function that are not preceeded by a label.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3811 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 12:20:25 +00:00
Bart Van Assche
78d62e7dd1 scripts/specialize-patch: Only emit "g1" debug output if debugging has been enabled.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3810 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 11:48:48 +00:00
Bart Van Assche
9455613488 scripts/specialize-patch: Update comments next to #else and #endif directives.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3809 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 11:26:59 +00:00
Bart Van Assche
8f48d8d7e9 Follow-up for r3807: make the hunk headers match again.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3808 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 08:32:23 +00:00
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