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
Bart Van Assche
f22d4bb63b
scst, fcst, iscsi-scst, qla2x00t, srpt: Add module namespace support
...
This patch adds support for kernel module namespaces. This patch is essential
when using SCST in combination with kernel version v5.4 or later.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-30 00:54:20 +00:00
Bart Van Assche
df61d43643
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-29 16:10:50 +00:00
Bart Van Assche
5406b273a2
qla2x00t-32gbit: fix NPIV tear down process
...
Fix two issues with commit f5187b7d1ac6 ("scsi: qla2xxx: Optimize NPIV
tear down process"): a missing negation in a wait_event_timeout()
condition, and a missing loop end condition.
Fixes: f5187b7d1ac6 ("scsi: qla2xxx: Optimize NPIV tear down process")
Link: https://lore.kernel.org/r/20191105145550.10268-1-martin.wilck@suse.com
Signed-off-by: Martin Wilck <mwilck@suse.com >
Acked-by: Himanshu Madhani <hmadhani@marvell.com >
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com >
[ commit 8b1062d513880b3ec696945f15dc84d179f1f3c1 upstream ]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8671 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-29 05:27:03 +00:00
Bart Van Assche
1391db2d8c
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-24 15:47:47 +00:00
Bart Van Assche
c1a340b484
scst: Fix the build against kernel v5.0 and before
...
Fixes: ef161f930f ("scst: Rework handling of recursive locking")
Reported-by: Ville Skytta <ville.skytta@iki.fi >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-24 04:49:58 +00:00
Bart Van Assche
50af8e3c4d
ib_srpt/Makefile: Improve MOFED support on Debian
...
Instead of only checking the mlnx-ofed-kernel-dkms, also check the
mlnx-ofed-kernel-modules package name.
Signed-off-by: Ville Skytta <ville.skytta@iki.fi >
[ bvanassche: Combined two patches into this single change ]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-23 19:57:05 +00:00
Bart Van Assche
810231050f
iscsi-scst/Makefile: Improve MOFED support for Debian systems
...
Instead of only checking the mlnx-ofed-kernel-dkms package name, also check
the mlnx-ofed-kernel-modules package name.
Signed-off-by: Ville Skytta <ville.skytta@iki.fi >
[ bvanassche: extracted this change from a larger patch ]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-23 19:54:54 +00:00
Bart Van Assche
8bdb6a625a
iscsi-scst/Makefile: Fix grabbing OFED_VERS from deb version
...
Fixes: e7ccfcf213 ("iscsi-scst/Makefile, Ubuntu: Simplify code for version querying")
Signed-off-by: Ville Skytta <ville.skytta@iki.fi >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8666 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-23 06:39:42 +00:00
Bart Van Assche
0f4547b0ff
scst_vdisk: Remove a superfluous WARN_ON_ONCE() statement
...
This patch fixes the following Coverity complaint:
7. assignment: Assigning: usn_len = max_len. The value of usn_len is now 252.
CID 326814 (#1 of 1): Out-of-bounds access (OVERRUN)
8. overrun-buffer-arg: Overrunning array virt_dev->usn of 21 bytes by
passing it to a function which accesses it at byte offset 251 using
argument usn_len (which evaluates to 252).
Fixes: ca180efeec ("scst_vdisk: Avoid that vdisk_usn_vpd() can trigger a buffer overflow")
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-17 22:08:45 +00:00
Bart Van Assche
f539200de5
scst: Remove the nolockdep patch files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-17 19:26:17 +00:00
Bart Van Assche
ef161f930f
scst: Rework handling of recursive locking
...
Use lockdep_register_key() and lockdep_unregister_key() instead of
disabling lockdep checking for certain lock objects. See also Linux
kernel commit 108c14858b9e ("locking/lockdep: Add support for dynamic
keys"; kernel version v5.1).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-17 19:24:43 +00:00