Bart Van Assche
eea998f6f2
Merge r7822:7826 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7827 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-22 21:07:45 +00:00
Bart Van Assche
212a187353
scripts/generate-kernel-patch: Download the kernel tarball if necessary (merge r7821 from trunk)
...
From Pascal de Bruijn <p.debruijn@unilogic.nl >.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7822 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-21 02:59:04 +00:00
Bart Van Assche
2ce909bfc5
Merge r7779:7801 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-09 05:28:26 +00:00
Bart Van Assche
2e86cc70aa
Merge r7441 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-04 04:28:11 +00:00
Vladislav Bolkhovitin
e5d322d4ab
Merged revisions 7233-7244 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r7233 | bvassche | 2017-09-20 08:09:38 -0700 (Wed, 20 Sep 2017) | 4 lines
ib_srpt: Support systems with more than 255 CPU cores
Signed-off-by: Kirill Malkin <kirillmalkin.km@gmail.com >
........
r7234 | bvassche | 2017-09-24 18:52:53 -0700 (Sun, 24 Sep 2017) | 2 lines
iscsi-scst/Makefile: Change MOFED path into /usr/src/ofa_kernel/default
........
r7235 | bvassche | 2017-09-25 16:35:49 -0700 (Mon, 25 Sep 2017) | 1 line
iscsi-scst/Makefile, Ubuntu: Simplify code for version querying
........
r7236 | bvassche | 2017-10-02 16:56:47 -0700 (Mon, 02 Oct 2017) | 1 line
scripts/specialize-patch: Process ENABLE_NPIV and FC_VPORT_CREATE_DEFINED correctly
........
r7237 | bvassche | 2017-10-02 17:04:53 -0700 (Mon, 02 Oct 2017) | 2 lines
scripts/generate-kernel-patch: Fix a regression introduced in r7164
........
r7238 | bvassche | 2017-10-02 17:05:42 -0700 (Mon, 02 Oct 2017) | 1 line
scripts/specialize-patch: Process CONFIG_SCST_STRICT_SERIALIZING correctly
........
r7239 | bvassche | 2017-10-03 15:49:35 -0700 (Tue, 03 Oct 2017) | 1 line
isert-scst: Make an error message more informative
........
r7240 | bvassche | 2017-10-03 16:08:29 -0700 (Tue, 03 Oct 2017) | 1 line
scst: Port to kernel v4.13
........
r7241 | bvassche | 2017-10-03 16:10:03 -0700 (Tue, 03 Oct 2017) | 1 line
nightly build: Update kernel versions
........
r7242 | bvassche | 2017-10-05 09:57:27 -0700 (Thu, 05 Oct 2017) | 1 line
scst: Port to openSUSE Leap 42.x
........
r7243 | bvassche | 2017-10-05 16:48:25 -0700 (Thu, 05 Oct 2017) | 1 line
fcst: Port to openSUSE Leap
........
r7244 | bvassche | 2017-10-05 16:48:51 -0700 (Thu, 05 Oct 2017) | 1 line
qla2x00t: Port to openSUSE Leap
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7246 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2017-10-06 04:51:04 +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
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
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
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
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
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
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
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
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
cbc9df8306
iscsi-scst/kernel/patches/put_page_callback-3.2.57.patch: Add
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5450 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-20 06:24:23 +00:00
Bart Van Assche
8dc624dae3
scripts/generate-kernel-patch: Fix for kernel versions 3.7, 3.10, 3.12 and 3.13
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5399 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-03-27 08:39:53 +00:00
Bart Van Assche
77f366ba08
nightly build: Add support for kernels >= 3.10.30 and >= 3.12.11
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-25 10:58:08 +00:00
Bart Van Assche
086744df29
nightly build: Add support for the put_page_callback-3.13.3 patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5301 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-21 07:44:55 +00:00
Bart Van Assche
1a367a14c8
regression tests: Run the 2.6.26..2.6.32 tests on the sysfs code instead of procfs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5270 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-07 07:45:15 +00:00
Bart Van Assche
8a1dad384f
scripts/generate-kernel-patch: Follow-up for r4932
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4935 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-03 19:19:08 +00:00
Bart Van Assche
ce636f3fc7
scripts/generate-kernel-patch: Pass full kernel version to scripts/specialize-patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4932 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-03 18:03:55 +00:00
Bart Van Assche
22c950246a
scripts/generate-kernel-patch: Use the proper version of the put_page_callback patch for kernel 3.7.10
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-03-20 07:01:59 +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
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
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
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
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
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
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
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
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