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
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
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
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
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
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