Bart Van Assche
5470ff4986
scripts/rebuild-rhel-kernel-rpm: Remove this script
...
Since rebuilding the RHEL kernel is no longer recommended, remove the script
that rebuilds the RHEL kernel RPM.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7490 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-10-03 01:44:26 +00:00
Bart Van Assche
f1357f410e
scst: Remove the existing latency measurement infrastructure
...
Remove the existing latency measurement infrastructure since it will be
replaced by a new and more powerful latency measurement infrastructure.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7481 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-09-27 02:25:43 +00:00
Bart Van Assche
6619a1a6ae
scripts/specialize-patch: Follow-up for the kernel v4.19 port
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7474 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-08-28 01:36:38 +00:00
Bart Van Assche
6864e0b759
scripts/run-regression-tests: Include the qla2xxx driver
...
Make sure that not only the qla2x00tgt but also the qla2xxx_scst driver
gets built when scripts/run-regression-tests is run.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7442 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-07-23 04:32:28 +00:00
Bart Van Assche
30d36bbfe6
scripts/generate-kernel-patch: Make the patch format more standard
...
Make sure that both paths in the diff header have the same number of
components. This patch does not change the result of applying a patch
generated by this script.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7441 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-07-23 04:31:00 +00:00
Bart Van Assche
953b86a9a2
scripts/specialize-patch: Add a comment
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7440 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-07-23 04:29:55 +00:00
Bart Van Assche
93d779dab6
scripts/specialize-patch: Add support for HAVE_DEV_ATTR_MAX_SEND_SGE and HAVE_RDMA_QUERY_GID
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7424 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-07-14 14:43:58 +00:00
Bart Van Assche
841cc5812a
nightly build, scripts/kernel-functions: Backport v4.16 gcc-8 fixes to kernel v4.15
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7406 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-07-10 04:10:09 +00:00
Bart Van Assche
0c5875eac5
scripts/specialize-patch: Add support for HAVE_STRUCT_SRP_LOGIN_REQ_RDMA
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7384 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:37:36 +00:00
Bart Van Assche
258d4d6795
scripts/run-regression-tests: Suppress shellcheck warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:37:21 +00:00
Bart Van Assche
7201b2de5f
scripts/run-regression-tests: Add "make dpkg" test
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7382 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:37:03 +00:00
Bart Van Assche
d0e5b123eb
scripts/run-regression-tests: Also build scst-dkms-rpm
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7381 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-03-04 19:36:46 +00:00
Bart Van Assche
bcdb25e550
iscsi-scst, srpt: Remove MOFED_MAJOR and MOFED_MINOR definitions
...
Commit r7084 removed all users of MOFED_MAJOR. Hence also remove the
code that sets that variable. Note: MOFED_MINOR was never used in any
.c file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-05 17:24:46 +00:00
Bart Van Assche
34f4744997
scripts/list-non-source-files: Add to repository
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7352 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:33:56 +00:00
Bart Van Assche
dc20e09b51
scripts/clean-source-tree: Add command-line option -x (exclude file)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-02-01 04:19:13 +00:00
Bart Van Assche
f41c5712d8
scripts/clean-source-tree: Add to repository
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7344 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-22 03:45:18 +00:00
Bart Van Assche
397511514a
scripts/list-source-files: Improve robustness of this script
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7343 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-22 03:44:33 +00:00
Bart Van Assche
9de081f1a7
scripts/kernel-functions: Synchronize with the latest kernel.org directory layout
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7330 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-01-06 22:54:12 +00:00
Bart Van Assche
9b33ce46bb
scripts/specialize-patch: Add support for SOCK_RECVMSG_HAS_FOUR_ARGS
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-12-19 16:45:22 +00:00
Bart Van Assche
7b5dcab494
scripts/specialize-patch: Fix #elif handling
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7255 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-12 15:03:13 +00:00
Bart Van Assche
1a82332127
scripts/specialize-patch: Process CONFIG_SCST_STRICT_SERIALIZING correctly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7238 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-03 00:05:42 +00:00
Bart Van Assche
d554163553
scripts/generate-kernel-patch: Fix a regression introduced in r7164
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-03 00:04:53 +00:00
Bart Van Assche
57bc445974
scripts/specialize-patch: Process ENABLE_NPIV and FC_VPORT_CREATE_DEFINED correctly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-02 23:56:47 +00:00
Bart Van Assche
1b4ba27d76
scripts/specialize-patch: Add support for HAVE_RDMA_DESTROY_AH
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-08-28 01:38:30 +00:00
Bart Van Assche
b2f00687fd
scripts/generate-kernel-patch: Stop applying the put_page_callback and exec_req_fifo patches
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7164 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-02 18:32:56 +00:00
Bart Van Assche
acc573a2bb
scripts: Update kernel download location
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7161 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-05-02 14:10:22 +00:00
Bart Van Assche
6912463c2e
ib_srpt: Fix nightly build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-27 20:21:53 +00:00
Bart Van Assche
07e91f348e
scripts/run-regression-tests: Avoid that "make oldconfig" hangs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7042 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-12-01 05:08:58 +00:00
Bart Van Assche
a274e9a82b
scripts/run-regression-tests: Disable CONFIG_STACK_VALIDATION and CONFIG_X86_X32
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7036 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-26 19:25:30 +00:00
Bart Van Assche
af36dbc1f4
scripts/generate-kernel-patch: Fix shellcheck warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7035 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-26 19:25:06 +00:00
Bart Van Assche
6ba9d088ee
scripts/generate-kernel-patch: Revert r7022
...
Revert r7022 because:
* Changing $kver3 into $kver is wrong for 2.x kernels.
* Building include/iscsi_scst_itf_ver.h must not depend on the kernel version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7032 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-24 16:53:00 +00:00
Vladislav Bolkhovitin
9ed7b217e3
generate-kernel-patch: optimize generation of Makefile for scst_local
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:24:07 +00:00
Vladislav Bolkhovitin
84c71bc53e
generate-kernel-patch: optimize generation of Makefile.drivers patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:18:55 +00:00
Vladislav Bolkhovitin
11be80dac7
generate-kernel-patch: optimize generation of Makefile for drivers/Kconfig
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7026 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:12:33 +00:00
Vladislav Bolkhovitin
66b195dd2f
generate-kernel-patch: optimize generation of Makefile for scst
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7025 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 05:06:59 +00:00
Vladislav Bolkhovitin
fc892680c8
generate-kernel-patch: optimize generation of Makefile for dev_handlers
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7024 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:55:15 +00:00
Vladislav Bolkhovitin
7083e395e9
generate-kernel-patch: optimize generation of Makefile for qla2x00t
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:44:48 +00:00
Vladislav Bolkhovitin
b2fa7521a7
generate-kernel-patch: fix custom cross-compilation kernel case
...
Otherwise there is non-fatal error like: No such file or directory
grep: /lib/modules/<current_running_kernel>/build/.config: Permission denied
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-17 04:33:38 +00:00
Bart Van Assche
d2dd61c072
isert-scst, srpt: Fix build on systems with kernel >= 4.2.0 + MOFED 3.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-08-22 04:28:52 +00:00
Bart Van Assche
8aa0ecf666
scripts/generate-patched-kernel: Fix list-source-files path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-03-11 04:06:34 +00:00
Bart Van Assche
a2d86af17f
scripts/run-regression-tests: Also test no-DLM build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-19 17:30:24 +00:00
Bart Van Assche
1b18a81264
scst: Fix in-tree build for kernel 4.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 04:58:43 +00:00
Bart Van Assche
36a89b1916
scst: Fix processing of scst_event.h in nightly build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6612 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 19:41:04 +00:00
Bart Van Assche
dad9e0317c
list-source-files: Fix the behavior for processing soft links
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-28 18:09:04 +00:00
Bart Van Assche
16a955ab7b
scst: Move vfs_fsync() backports to a new header file
...
This patch does not change any functionality but makes the SCST
source code easier to read. The intention is later on to move all
backported functions and macros from <scst.h> into <backport.h>.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6547 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-19 17:23:16 +00:00
Bart Van Assche
837413b419
scripts/specialize-patch: Fix handling of complex #if / #elif / #else / #endif constructs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6515 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 21:17:55 +00:00
Bart Van Assche
3c3590a477
scripts/specialize-patch: Simplify implementation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6514 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:57:47 +00:00
Bart Van Assche
ead4f8c43e
scripts/specialize-patch: Simplify implementation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:57:11 +00:00
Bart Van Assche
bd19ba30fd
scripts/specialize-patch: Add more debugging output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:34:50 +00:00
Bart Van Assche
f1df6a389b
scripts/specialize-patch: Fix #elif handling
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6511 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 18:39:14 +00:00