Commit Graph

375 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
2eabd72416 Merged revisions 7032,7034,7037 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7032 | bvassche | 2016-11-24 08:53:00 -0800 (Thu, 24 Nov 2016) | 6 lines
  
  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.
........
  r7034 | bvassche | 2016-11-24 09:32:40 -0800 (Thu, 24 Nov 2016) | 7 lines
  
  iscsi-scst/Makefile: Fix INFINIBAND_ENABLED test
  
  Running "make install" ensures that the kernel config file is available
  in $(KDIR)/.config. However, that file is not available if $(KDIR) points
  at a kernel that comes from a Linux distributor. Hence change the
  $(INFINIBAND_ENABLED) test to check $(KDIR)/../modules.symbols.
........
  r7037 | vlnb | 2016-11-29 19:06:38 -0800 (Tue, 29 Nov 2016) | 9 lines
  
  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
  
  This is a better version of r7022 suggested by Bart
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.2.x@7038 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-30 03:14:03 +00:00
Vladislav Bolkhovitin
84c07327c4 Merged revisions 7012-7029 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r7012 | vlnb | 2016-10-17 22:00:58 -0700 (Mon, 17 Oct 2016) | 3 lines
  
  iscsi-scst: HOWTO updated
........
  r7013 | bvassche | 2016-10-21 14:21:29 -0700 (Fri, 21 Oct 2016) | 2 lines
  
  scst regression tests: Unload the scst kernel module explicitly
........
  r7014 | bvassche | 2016-10-21 14:54:02 -0700 (Fri, 21 Oct 2016) | 1 line
  
  scstadmin: Avoid that specifying an attribute multiple times results in an incomprehensible error message
........
  r7015 | vlnb | 2016-10-21 19:19:03 -0700 (Fri, 21 Oct 2016) | 3 lines
  
  Docs updates
........
  r7016 | bvassche | 2016-10-25 13:49:21 -0700 (Tue, 25 Oct 2016) | 1 line
  
  scst_user: Port to Linux kernel v4.9
........
  r7017 | bvassche | 2016-10-25 13:50:15 -0700 (Tue, 25 Oct 2016) | 4 lines
  
  ib_srpt: Cache global L_Key
  
  This patch does not change any functionality.
........
  r7018 | bvassche | 2016-10-25 13:50:34 -0700 (Tue, 25 Oct 2016) | 2 lines
  
  ib_srpt: Port to Linux kernel v4.9
........
  r7019 | bvassche | 2016-10-25 15:21:46 -0700 (Tue, 25 Oct 2016) | 4 lines
  
  isert-scst: Cache L_Key
  
  This patch does not change any functionality.
........
  r7020 | bvassche | 2016-10-25 15:22:07 -0700 (Tue, 25 Oct 2016) | 2 lines
  
  isert-scst: Port to Linux kernel v4.9
........
  r7021 | bvassche | 2016-10-26 14:33:50 -0700 (Wed, 26 Oct 2016) | 1 line
  
  iscsi-scst: Port to Linux kernel versions >= v4.7
........
  r7022 | vlnb | 2016-11-16 20:33:38 -0800 (Wed, 16 Nov 2016) | 7 lines
  
  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
........
  r7023 | vlnb | 2016-11-16 20:44:48 -0800 (Wed, 16 Nov 2016) | 3 lines
  
  generate-kernel-patch: optimize generation of Makefile for qla2x00t
........
  r7024 | vlnb | 2016-11-16 20:55:15 -0800 (Wed, 16 Nov 2016) | 3 lines
  
  generate-kernel-patch: optimize generation of Makefile for dev_handlers
........
  r7025 | vlnb | 2016-11-16 21:06:59 -0800 (Wed, 16 Nov 2016) | 3 lines
  
  generate-kernel-patch: optimize generation of Makefile for scst
........
  r7026 | vlnb | 2016-11-16 21:12:33 -0800 (Wed, 16 Nov 2016) | 3 lines
  
  generate-kernel-patch: optimize generation of Makefile for drivers/Kconfig
........
  r7027 | vlnb | 2016-11-16 21:18:55 -0800 (Wed, 16 Nov 2016) | 3 lines
  
  generate-kernel-patch: optimize generation of Makefile.drivers patch
........
  r7028 | vlnb | 2016-11-16 21:24:07 -0800 (Wed, 16 Nov 2016) | 3 lines
  
  generate-kernel-patch: optimize generation of Makefile for scst_local
........
  r7029 | vlnb | 2016-11-22 19:45:35 -0800 (Tue, 22 Nov 2016) | 5 lines
  
  scst: fix overflows handling for tapes
  
  Reported and tested by Matthew D. Frederes <matt@bitech.biz>
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.2.x@7030 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-11-23 04:31:25 +00:00
Bart Van Assche
69200308aa ib_srpt: Merge revisions 6932, 6969, 6970, 6973, 6976, 6978 and 6981 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.2.x@6995 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-10-07 15:22:28 +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
Bart Van Assche
bc070bc1bc scripts/specialize-patch: Handle #if 0 / #elif statement combinations correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-28 05:38:07 +00:00
Bart Van Assche
e3c906b4e5 scripts/run-regression-tests: Filter line numbers from the smatch output
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6400 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-24 15:18:48 +00:00
Bart Van Assche
f6806b930c scripts/rebuild-rhel-kernel-rpm: Add RHEL 7.1 support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6337 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 20:18:29 +00:00
Bart Van Assche
0d9d6a6f57 isert-scst: Fix in-tree build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-12 16:15:45 +00:00
Bart Van Assche
e01d03fe2f scripts/specialize-patch: Recognize identifiers correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-11 04:18:47 +00:00
Bart Van Assche
6aaeca1cd9 Merge iser branch r6234 into trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-10 15:35:26 +00:00
Bart Van Assche
9db6a5e0de nightly build: Add kernel 4.0 build infrastructure
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-09 13:35:04 +00:00
Bart Van Assche
77abedc121 scripts/generate-kernel-patch: Add support for kernel versions >= 4.0.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-09 13:33:11 +00:00
Bart Van Assche
8cb332836f scripts/specialize-patch: Fix a bug in evaluate()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6176 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-01 07:17:17 +00:00
Bart Van Assche
940faa9ad4 ib_srpt: Enable building against OFED headers without patching the build system
Additionally, include the OFED flavor name in the ib_srpt version number.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6138 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-02 14:28:25 +00:00
Bart Van Assche
1b31f90912 scripts/generate-release-archive: Include build_mode file in generated archives
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:36:38 +00:00
Bart Van Assche
1ffffec68a scripts/update-version: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 13:01:07 +00:00
Bart Van Assche
3e59f81ea5 scripts/spread-mlx4-ib-interrupts: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-09 09:26:10 +00:00
Bart Van Assche
628f3939bc scst: Rework SCSI pass-through support for kernel versions >= 2.6.30
Changes in this patch:
- Rework the SCSI pass-through code such that for kernel versions
  >= 2.6.30 the scst_exec_req_fifo patch is no longer needed.
- Modify the pass-through code such that blk_rq_append_bio() is only
  called for kernel version 2.6.30. For later kernel versions
  blk_make_request() is called instead.
- Rework scst_scsi_exec_async().
- Add debug tracing of SCSI pass-through result status.
- Add a lockdep_assert_held() call in scsi_end_async().



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5979 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-20 15:04:23 +00:00
Bart Van Assche
b83f4faa55 scripts/generate-kernel-patch: Include scst_pg.sgml instead of sgv_cache.sgml
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5936 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-12 09:29:42 +00:00
Bart Van Assche
5ce36973f7 scripts/generate-kernel-patch: Swap two filters
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5910 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-04 11:50:58 +00:00
Bart Van Assche
7d8f7fe5bb scripts/rebuild-rhel-kernel-rpm: Add support for RHEL 6.6
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5905 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 17:07:31 +00:00
Bart Van Assche
6b8e075a4e scripts/rebuild-rhel-kernel-rpm: Fix an error message
Reported-by: Hiroyuki Sato <hiroysato@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5903 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-12-03 11:50:06 +00:00
Bart Van Assche
e7e2e4e17c scripts/specialize-patch: Reduce noise in nightly build output
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 19:42:10 +00:00
Bart Van Assche
a41cf8bc0a scripts/specialize-patch: Support blanks around numbers inside parentheses
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-26 16:25:57 +00:00
Bart Van Assche
bfaad5fabf scripts/generate-release-archive: Accept an optional list of file names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5879 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-19 00:20:20 +00:00
Bart Van Assche
d4c49fcd64 scripts/generate-kernel-patch: Only generate scst_itf_ver.h if needed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5827 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-03 12:23:34 +00:00
Bart Van Assche
092eeda59f scripts/rebuild-rhel-kernel-rpm: Enable put_page_callback patch for RHEL 7
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5817 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-28 19:54:04 +00:00
Bart Van Assche
f9a3493c32 scripts/generate-patched-kernel: Fix for invocation from current directory
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5745 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-02 06:35:06 +00:00
Bart Van Assche
b989c92b9a scripts/rebuild-rhel-kernel-rpm: Fix for invocation from current directory
Reported-by: Hiroyuki Sato <hiroysato@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-02 06:33:32 +00:00
Bart Van Assche
127582f5f9 scripts/rebuild-rhel-kernel-rpm: Install more prerequisites
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-09 11:02:19 +00:00
Bart Van Assche
aed025d87a scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-07 08:38:19 +00:00
Bart Van Assche
ba876f77d4 scripts/generate-kernel-patch: Remove trailing whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-11 07:54:19 +00:00
Bart Van Assche
586ab2f547 scripts/generate-kernel-patch: Also generate scst-itf-ver.h
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-11 06:48:49 +00:00
Bart Van Assche
77f6bac7ec scripts/rebuild-rhel-kernel-rpm: Move code for downloading a RHEL (clone) RPM into a separate file
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 12:29:59 +00:00
Bart Van Assche
020f066cc6 scripts/run-regression-tests: Add command-line option -4 (disable IPv6)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-06 08:02:28 +00:00
Bart Van Assche
bdcba0604a Make scripts/kernel-functions again compatible with 2.6.x kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-04 05:39:28 +00:00
Bart Van Assche
b41aed61e3 scripts/generate-patched-kernel: Clean up
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-03 08:42:08 +00:00
Bart Van Assche
940e4b2f98 scripts/kernel-functions: Handle 3.x.0 kernel versions correctly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5658 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-03 08:36:48 +00:00
Bart Van Assche
1269744924 nightly build: Use http instead of ftp for downloading kernel source code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-25 11:50:40 +00:00
Bart Van Assche
2edd052785 scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 RC support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5545 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-23 08:36:36 +00:00