Bart Van Assche
1485814618
scripts/kernel-functions: Revert r9467
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-25 03:14:28 +00:00
Bart Van Assche
99774c91dd
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9468 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 04:03:20 +00:00
Bart Van Assche
f820add974
scripts: Add support for CentOS 8.4 (trunk r944[45])
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9467 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 04:02:13 +00:00
Bart Van Assche
63f7a98e13
scripts: Add support for CentOS 8.4 (trunk r9444)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9466 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 04:01:50 +00:00
Bart Van Assche
f1bb4b863d
scst: Port to CentOS 8.4 (trunk r9443)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9465 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 04:01:13 +00:00
Bart Van Assche
c65abef842
debian/rules: Only build fcst if libfc has been enabled in the kernel (trunk r9429)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9464 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:59:38 +00:00
Bart Van Assche
90dcff8d7f
scripts/specialize-patch: Evaluate 0 && defined(...) as 0 (trunk r9419)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9463 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:58:20 +00:00
Bart Van Assche
683698cc47
scst_vdisk, vdisk_blockio: Fix the resync_size functionality (trunk r9386)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9462 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:57:17 +00:00
Bart Van Assche
8b32697a77
scst: Fix the build against the UEK 8 kernel (trunk r9385)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9461 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:56:50 +00:00
Bart Van Assche
be9d1fa2a2
scst: Enable the kernel scheduler in scst_wait_for_tgt_devs() (trunk r9381)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9460 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:56:21 +00:00
Bart Van Assche
c2f3274514
scripts/specialize-patch: Clamp sublevel to 255 (trunk r9369)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9459 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:54:31 +00:00
Bart Van Assche
04b1a0245d
scst: Fix an infinite loop in scst_process_check_condition() (trunk r9346)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9458 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:51:46 +00:00
Bart Van Assche
5fc30ce06c
debian/compat: Remove this file again (trunk r9334)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9457 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:50:33 +00:00
Bart Van Assche
98b4b4c4f1
Debian: Various package building improvements (trunk r9333)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:49:59 +00:00
Bart Van Assche
3a592dac6d
dpkg: Use defaults if DEBEMAIL or DEBFULLNAME have not been set (trunk r9332)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:49:26 +00:00
Bart Van Assche
aa16354497
Revert "debian/rules: Also clean the scstadmin/scstadmin soft link" (trunk r9330)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9454 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:48:43 +00:00
Bart Van Assche
4189c63637
scst: Fix the PERCPU_REF_ALLOW_REINIT backport (trunk r9329)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9453 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:48:14 +00:00
Bart Van Assche
e0c19875ea
scst: Fix the CentOS / RHEL 8.[012] builds (trunk r9328)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9452 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:47:46 +00:00
Bart Van Assche
6f5ae3261a
scst: Fix percpu-ref reinitialization for RHEL 8 / CentOS 8 (trunk r9319)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9451 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:46:44 +00:00
Bart Van Assche
50d2c62f73
scripts/kernel-functions: Apply the yylloc patch also to scripts/dtc/dtc-lexer.lex.c_shipped (trunk r9306)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9450 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:45:17 +00:00
Bart Van Assche
25fb0b34bf
scripts/kernel-functions: Unbreak the build against kernel versions 2.6.34[2..7] (trunk r9305)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9449 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-24 03:39:54 +00:00
Bart Van Assche
aabfb91f04
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.5.x@9376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-04-13 16:26:44 +00:00
Bart Van Assche
446ad88006
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.5.x@9344 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-02-24 04:42:47 +00:00
Bart Van Assche
5427799200
Create the 3.5.x branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.5.x@9239 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:55:35 +00:00
Bart Van Assche
7c294b7648
scst/ChangeLog: Mention the qla2x00t-32gbit driver
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9238 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:53:40 +00:00
Bart Van Assche
21ea12d0de
scstadmin: Fix the release-archive Makefile target
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:50:48 +00:00
Bart Van Assche
6ee007cb6e
qla2x00t-32gbit: Fix the release-archive Makefile target
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:50:27 +00:00
Bart Van Assche
3885ef5ef7
qla2x00t-32gbit: Add a version number
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:48:48 +00:00
Bart Van Assche
71e25520ee
scst/Makefile: Remove a superfluous backslash
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:46:25 +00:00
Bart Van Assche
0b3aad05f5
scripts/update-version: Also update the qla2x00t-32gbit version number
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:45:42 +00:00
Bart Van Assche
ed38dccfb4
scst/ChangeLog: Document that RHEL / CentOS 8.3 is supported
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 22:47:05 +00:00
Bart Van Assche
d3c92ea7aa
Bump the version number to 3.5.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 03:38:21 +00:00
Bart Van Assche
e3c8aedb2c
scst_event: Fix the code that copies the CDB of the command to be aborted
...
I came across this accidentally while looking up the users of the
cmd_to_abort pointer.
Fixes: 297d268a7a ("SCST events infrastructure"; r6574)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-21 23:58:29 +00:00
Bart Van Assche
5826f2c8de
scst: Fix two bugs in error paths
...
Wait for percpu_ref_kill() to finish before calling percpu_ref_exit().
This patch fixes the following complaint:
WARNING: CPU: 7 PID: 56710 at lib/percpu-refcount.c:110 percpu_ref_exit+0x28/0x30
RIP: 0010:percpu_ref_exit+0x28/0x30
Call Trace:
scst_free_device+0x89/0x120 [scst]
scst_register_virtual_device_node+0x27a/0x4f0 [scst]
vdisk_add_blockio_device+0x1fa/0x3d0 [scst_vdisk]
scst_devt_mgmt_store_work_fn+0x21b/0x2d0 [scst]
sysfs_work_thread_fn+0xef/0x400 [scst]
kthread+0x112/0x130
Fixes: c5ff6adeae ("Fix unloading of scst_vdisk while I/O is ongoing"; r9048)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-21 22:06:06 +00:00
Bart Van Assche
e3d187f6af
scripts/kernel-functions: Apply kernel patches more selectively
...
Only try to apply kernel patches that should apply such that 'patch' does
not report any error messages that some patches fail to apply.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-21 20:56:58 +00:00
Bart Van Assche
cf4a11725a
scst: Unbreak the non-RHEL build
...
This patch is a fix for r9221.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9227 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-21 19:54:08 +00:00
Bart Van Assche
ff294b83e7
qla2x00t: Build fix for RHEL / CentOS 8.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-21 19:21:28 +00:00
Bart Van Assche
8ddd93ee2a
scripts/kernel-functions: Remove an UEK R4 patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9225 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 22:16:51 +00:00
Bart Van Assche
22952ce0a2
nightly build: Remove UEK R4
...
SCST does not build against UEK R4.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9224 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 21:51:19 +00:00
Bart Van Assche
21c519918d
regression tests: Disable branch profiling in the kernel configuration
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 21:41:19 +00:00
Bart Van Assche
245920e759
nightly build: Add the CentOS 8.3 kernel
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9222 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 04:26:58 +00:00
Bart Van Assche
5f2e23c23b
scst, scst_local: Port to RHEL / CentOS 8.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9221 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 04:26:40 +00:00
Bart Van Assche
ab65209f50
scripts/run-regression-tests: Improve support for UEK kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:40:29 +00:00
Bart Van Assche
81ecb3bd6a
scripts: Remove all references to the mpt driver
...
Additionally, make scripts/run-regression-tests build the qla2x00t-32gbit
driver.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:39:11 +00:00
Bart Van Assche
5e2e7bca82
scripts/run-regression-tests: More Linux kernel v5.10 fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:22:47 +00:00
Bart Van Assche
6c37ea9023
scripts/run-regression-tests: Fix the build against Linux kernel v5.10
...
From the Linux kernel help text:
modules_prepare - Set up for building external modules
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:16:20 +00:00
Bart Van Assche
e1f9a517c8
Port Kconfig files to kernel v5.9
...
Change '---help---' into 'help'. See also Linux kernel commit f70f74d15ca8
("kconfig: remove '---help---' support") # v5.9.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9216 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:07:40 +00:00
Bart Van Assche
7657f17bf5
scripts/kernel-functions: Source code cleanup
...
Fix a few shellcheck warnings, swap two if-statements and add a few comments.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 00:59:42 +00:00
Bart Van Assche
5a1f212ce6
nightly build: Include the Oracle UEK kernel
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9214 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-19 17:51:00 +00:00
Bart Van Assche
6c47d7332d
scst_pres: Revert r9114
...
In contrast with the description of that commit, commit r9114 changes the
functionality of the scst_pres code. Hence revert that commit.
Reported-by: Chesnokov Gleb <Chesnokov.G@raidix.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9213 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-17 19:53:46 +00:00