Commit Graph

6553 Commits

Author SHA1 Message Date
Bart Van Assche
effdb66b80 scst, scst_vdisk: Revert "Simplify the code for querying the vdisk filename" (merge r9375 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-04-13 16:27:34 +00:00
Bart Van Assche
f4dfc85312 scst_lib: Fix scst_prepare_request_sense()
See also https://sourceforge.net/p/scst/tickets/49/.

Reported-by: Philip Pritchard
Fixes: f16c5d1b2e ("scst: Rework scst_prepare_request_sense()")


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9345 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-02-24 04:43:25 +00:00
Bart Van Assche
a30623edbc nightly build: Merge r8894:9205 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9206 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 04:05:35 +00:00
Bart Van Assche
86170d0829 scst: Make scst/include/backport.h again compatible with MOFED (merge r9163 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9205 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:40:11 +00:00
Bart Van Assche
724a9b76e1 scst: Restore compatibility with gcc 4.x (RHEL 7.x) (merge r9161 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:39:22 +00:00
Bart Van Assche
e9d91d5df3 iscsi-scst: Port to Linux kernel v5.9 (merge r9149 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:35:19 +00:00
Bart Van Assche
7caab58196 scst/include/backport.h: Backport the fallthrough macro (merge r9147 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9202 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:34:45 +00:00
Bart Van Assche
ae7eb0c978 scst, percpu_ref backport: For older kernels, use atomic instead of atomic_long (merge r9030 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9201 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:32:32 +00:00
Bart Van Assche
a2d594c890 scst, iscsi-scst: Port to RHEL / CentOS 8.2 (merge r9026 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9200 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:31:25 +00:00
Bart Van Assche
9d1a29333b scst: Also install the build_mode.h header file (merge r9173 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9199 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-03 03:11:13 +00:00
Bart Van Assche
1f4033e5e7 scst: Fix the RHEL 6 / 7 kernel_write() backport
This patch unbreaks persistent reservation support.

Fixes: 94018a42e3 ("scst: Use kernel_{read,write}() instead of scst_{read,write}()")
Reported-by: Gleb Chesnokov <Chesnokov.G@raidix.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9122 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-28 04:20:11 +00:00
Bart Van Assche
63c7eec6b0 qla2x00t*: Add support for distro kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9113 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-08 15:33:09 +00:00
Bart Van Assche
727f6334a9 qla2x00t*: Make several paths absolute
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9112 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-08 15:32:51 +00:00
Bart Van Assche
3666f8a619 Add the qla2x00t-32gbit/trace/events/qla.h file to the output of scripts/generate-kernel-patch
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9111 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-08 15:32:18 +00:00
Bart Van Assche
d05aed2445 scst: Fix the build against RHEL 8 debug kernels (merge r8886 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9110 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-08 15:24:18 +00:00
Bart Van Assche
16886d2fa3 qla2x00t-32gbit: Fix Linux kernel v5.6 build (merge r8868 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9107 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-06 03:55:20 +00:00
Bart Van Assche
98c016989e scst: Port to Linux kernel v5.8 (merge r8955 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-03 03:17:57 +00:00
Bart Van Assche
a8a356f4a6 ib_srpt, iscsi-scst: Port to Linux kernel v5.8 (merge r9060 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9101 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-03 03:04:25 +00:00
Bart Van Assche
93cb0bea8b ib_srpt, iscsi-scst: Add the configure tests necessary for building against kernel v5.8 (merge r9073 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9100 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-03 03:03:47 +00:00
Bart Van Assche
708c83ad69 Merge r9098 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9099 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-03 02:57:23 +00:00
Bart Van Assche
2d199cd33d scripts: Merge r8857:9096 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9097 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-03 02:47:36 +00:00
Bart Van Assche
8ce7f28a88 scst/include/backport.h: Fix the build against CentOS 8.2 (merge r9024 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-02 14:41:21 +00:00
Bart Van Assche
ab4ed4f0df scst: Fix unloading of scst_vdisk while I/O is ongoing (merge r9048 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9050 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-07-12 23:38:32 +00:00
Bart Van Assche
8a13e5b8e3 scst: Introduce a local variable (merge r9047 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9049 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-07-12 23:37:31 +00:00
Bart Van Assche
8e039ec1f0 qla2x00t*: Port to Linux kernel v5.7 (merge r8863:8865 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9045 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-07-08 14:21:16 +00:00
Bart Van Assche
2c55a61fcb Fix handling of MODE SENSE commands for read-only devices (merge r9043 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-07-08 14:16:47 +00:00
Bart Van Assche
67d2baf1e8 Simplify the top-level Makefile (merge r9015 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9016 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-13 17:12:25 +00:00
Bart Van Assche
e8a4f575c6 iscsi-scst, srpt: Fix run_conftest
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9010 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-11 03:38:28 +00:00
Bart Van Assche
05e8ee131f scst/src/Makefile: Do not set KBUILD_EXTRA_SYMBOLS
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-11 03:37:46 +00:00
Bart Van Assche
c4a68c0421 scst, device handlers: Fix gcc 10 compiler warnings (merge r8948 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9008 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-11 02:00:30 +00:00
Bart Van Assche
dca8c7facd iscsi-scstd: Fix a gcc 10 compiler warning (merge r8954 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@9007 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-11 01:59:21 +00:00
Bart Van Assche
f03f51482d ib_srpt: Prevent that large RDMA transfers trigger QP termination (merge r8938 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8945 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-20 00:34:00 +00:00
Bart Van Assche
26099e2407 scstadmin: Restore support for setting write-only attributes (merge r8915 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8918 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-15 15:47:51 +00:00
Bart Van Assche
eb8d5f0825 Undo the changes from r8916
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-15 15:46:47 +00:00
Bart Van Assche
94731537d6 scstadmin: Restore support for setting write-only attributes (merge r8171 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8916 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-14 20:47:54 +00:00
Bart Van Assche
14813e79e9 nightly build: Update kernel versions (merge trunk r8672:8894)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8898 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 21:12:25 +00:00
Bart Van Assche
dd91145744 scst: Port to Linux kernel v5.7 (merge trunk r8863)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8897 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 21:08:27 +00:00
Bart Van Assche
42cedf87c4 iscsi-scst, srpt: Fix the build against MOFED 5 (merge r8866 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8896 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 21:06:34 +00:00
Bart Van Assche
c0e541e1ad Update svn:ignore properties (merge r8874 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8895 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 21:05:36 +00:00
Bart Van Assche
ce7ddb78fb scst_user: Set replies_done to zero if replies_cnt == 0 (merge r8861 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8862 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-11 17:14:09 +00:00
Bart Van Assche
a7852b18ba scst/kernel/in-tree/Makefile.drivers.Linux.patch: Port to kernel v5.6 (merge r8849 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8860 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 22:15:45 +00:00
Bart Van Assche
9c44d5889f scripts/generate-kernel-patch: Revert a change that should not have been merged
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8859 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 21:30:34 +00:00
Bart Van Assche
c7c55d03ac scripts: Merge r7819:8857 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8858 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 14:50:30 +00:00
Bart Van Assche
47083945e4 scst, qla2x00t: Use pr_warn() instead of pr_warning() (backport r8697 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8856 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 14:40:18 +00:00
Bart Van Assche
072020c022 qla2x00t-32gbit: Port to Linux kernel v5.5 (backport r8764 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8855 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 14:39:33 +00:00
Bart Van Assche
6e37315710 Makefiles: Use KBUILD_EXTRA_SYMBOLS instead of copying Module.symvers (backport r8686 from the trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8854 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 14:38:38 +00:00
Bart Van Assche
6d8d1eca79 scst: Use bitmap_parse() instead of __bitmap_parse() (backport r8772 from the trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8853 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 14:33:57 +00:00
Bart Van Assche
6b8598f3d0 scst: Convert mutex_release() and rwlock_release() to the kernel v5.5 prototypes (backport r8694 from the trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8852 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-04-08 14:33:12 +00:00
Bart Van Assche
fbbe2910da Create 3.4.x branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.4.x@8675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-04 04:17:43 +00:00
Bart Van Assche
ce557f2f1c scst, fcst, iscsi-scst, srpt, ...: Bump version number to 3.4.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-03 04:22:16 +00:00