Commit Graph

8175 Commits

Author SHA1 Message Date
Bart Van Assche
81b8a89f58 Merge branch 'svn-trunk' 2021-02-08 19:03:23 -08:00
Vladislav Bolkhovitin
92a6dad912 Web copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9339 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-02-05 20:26:25 +00:00
Bart Van Assche
3ec42dd037 Merge branch 'svn-trunk' 2021-01-23 19:59:15 -08:00
Bart Van Assche
5a8db0e00f README.performance: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9338 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-24 03:59:03 +00:00
Bart Van Assche
3562037277 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9337 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-23 16:59:56 +00:00
Bart Van Assche
36d97eb604 Merge branch 'svn-trunk' 2021-01-17 12:36:02 -08:00
Bart Van Assche
dd467b0eda scst: Limit the size of READ CAPACITY buffers
Fixes: be8b679bb8 ("scst: fix tapes handling with Windows initiators")
Reported-by: James McCarthy <mccarthy1029@gmail.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-17 20:31:31 +00:00
Bart Van Assche
a673b482f1 Merge branch 'svn-trunk' 2021-01-17 11:17:09 -08:00
Bart Van Assche
ed0bb63c54 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9335 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-17 16:21:56 +00:00
Bart Van Assche
ce9ed7e36d Merge branch 'svn-trunk' 2021-01-09 17:22:30 -08:00
Bart Van Assche
48e2034307 Debian: Follow-up for r9333
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9334 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-10 01:22:26 +00:00
Bart Van Assche
12094ae3ec Merge branch 'svn-trunk' 2021-01-09 17:21:49 -08:00
Bart Van Assche
613e7583c2 Debian: Various package building improvements
Use a two digit revision number instead of a single digit revision number to
fix a lintian warning. Exclude .gitignore files from the source archive.
Copy the debhelper major version number into debian/compat instead of
hardcoding the compatibility level because the highest compatibility level
supported by Ubuntu 16.04 is 9 and because compatibility level 9 is considered
deprecated by Ubuntu 20.04.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9333 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-10 01:21:44 +00:00
Bart Van Assche
e0e4dcba2c dpkg: Use defaults if DEBEMAIL or DEBFULLNAME have not been set
This makes it easier to build a Debian package.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-10 01:18:07 +00:00
Bart Van Assche
94a84adbf7 scst: Micro-optimize the overflow checks in scst_tape_generic_parse()
Use shift operations instead of multiplication operations. See also commit
6258844d60 ("scst: fix overflows handling for tapes").


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-10 01:17:29 +00:00
Bart Van Assche
5d630c2514 Revert "debian/rules: Also clean the scstadmin/scstadmin soft link"
Since the soft link scstadmin/scstadmin is under source control, do not
remove it while removing build artefacts. See also commit b3435fbdda
("debian/rules: Also clean the scstadmin/scstadmin soft link").



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9330 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-10 01:16:26 +00:00
Bart Van Assche
013aecf10e scst: Fix the PERCPU_REF_ALLOW_REINIT backport
Fixes: 8eeb9af891 ("scst: Fix the CentOS / RHEL 8.[012] builds")


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9329 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-10 01:15:01 +00:00
Bart Van Assche
b0174478ea Merge branch 'svn-trunk' 2021-01-07 19:21:19 -08:00
Bart Van Assche
8eeb9af891 scst: Fix the CentOS / RHEL 8.[012] builds
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-08 03:20:42 +00:00
Bart Van Assche
1d157c0bc1 fcst: Fix the kernel v5.10 build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9327 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-08 03:19:39 +00:00
Bart Van Assche
a9d4468352 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9326 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-06 21:50:14 +00:00
Bart Van Assche
6d164faf9f Merge branch 'svn-trunk' 2021-01-04 13:24:56 -08:00
Bart Van Assche
147ced0a55 scst_vdisk: Make vdisk_get_file_size() return 0 upon success
Reported-by: Grant Albitz <GAlbitz@comstar-usa.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-04 21:22:57 +00:00
Bart Van Assche
4b77050b9c Merge branch 'svn-trunk' 2021-01-03 19:59:20 -08:00
Bart Van Assche
9aaa0846dc scst: Add support for the READ and WRITE DYN RUNTIME ATTR commands
Signed-off-by: Rob Turk <robtu@rtist.nl>
[ bvanassche: moved get_cdb_info_dyn_runtime_attr() definition ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-04 03:59:00 +00:00
Bart Van Assche
b058c7f377 Merge branch 'svn-trunk' 2021-01-03 18:55:42 -08:00
Bart Van Assche
e6561891ff nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-04 02:14:20 +00:00
Bart Van Assche
427981871e scst_lib: Fix spelling of "SEND DVD STRUCTURE"
Reported-by: Rob Turk <robtu@rtist.nl>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 03:20:00 +00:00
Bart Van Assche
f672818dcd Merge branch 'svn-trunk' 2021-01-02 18:59:41 -08:00
Bart Van Assche
1b3d5b60eb scst: Rework the mechanism for suspending activity
Use a percpu_ref instead of one atomic counter per CPU. This patch
eliminates two atomic instructions from the command processing path.
This patch decreases performance for the following configurations
because the backported version of percpu_ref uses a single global
counter:
* RHEL 6.x / CentOS 6.x and before (maintenance ended on 2020-11-30).
* Upstream kernel version v3.10 and before.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:59:31 +00:00
Bart Van Assche
7f0900b858 scst: Modify the code that decides whether or not to process in tasklet context
Since the next patch will remove cpu_cmd_count, make this decision
independent of cpu_cmd_count.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9320 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:56:01 +00:00
Bart Van Assche
cb8c3a4725 scst: Fix percpu-ref reinitialization for RHEL 8 / CentOS 8
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9319 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:54:08 +00:00
Bart Van Assche
df4c250b8d scst_vdisk: Port to Linux kernel v5.11
Use blkdev_get_by_path() to open block devices instead of filp_open().


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9318 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:53:36 +00:00
Bart Van Assche
8f2e1df308 scst_vdisk: Use blkdev_get_by_path() to open block devices
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9317 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:52:31 +00:00
Bart Van Assche
616730270b scst: Rework vdisk_get_file_size()
Linux kernel commit 4e7b5671c6a8 ("block: remove i_bdev"; v5.11-rc1) removes
the i_bdev member of struct inode. Hence use blkdev_get_by_path() to open
block devices when the struct block_device pointer is needed instead of using
filp_open().



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:51:31 +00:00
Bart Van Assche
1c3d35bdab scst_vdisk: Rework vdisk_set_wt() and vcdrom_change()
This patch breaks the transactional properties of these functions but
makes it easier to port these functions to Linux kernel v5.10.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:48:04 +00:00
Bart Van Assche
6b420cfb32 fcst: Port to Linux kernel v5.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 02:46:48 +00:00
Bart Van Assche
b474628992 scst_lib: Port to Linux kernel v5.10
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9313 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 00:40:12 +00:00
Bart Van Assche
116ab5adc3 scst_vdisk: Split several lines that exceed 80 characters
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 00:38:14 +00:00
Bart Van Assche
10abb160b0 scst_vdisk: Fix trailing whitespace removal code in vcdrom_change()
Stop looking for trailing whitespace when p == buffer. Remove the local
variable 'pp' since it always equals p + 1.

Fixes: f381dbb74c ("Device sysfs locking reconsidered to remove recently introduced deadlock possibility")


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-03 00:37:37 +00:00
Bart Van Assche
c0151f6cda Bump the version number to 3.6.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-02 23:16:59 +00:00
Bart Van Assche
88dddd48d4 Merge branch 'svn-trunk' 2020-12-31 20:36:06 -08:00
Bart Van Assche
2aed2394ef qla2x00t-32gbit: Implement the find_cmd_by_tag() callback
Fixes: ab09b4f3c3 ("qla2x00t-32gbit: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG")



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9309 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-01-01 04:00:13 +00:00
Bart Van Assche
e9b7c7e8ff scst_lib: Fix a kernel-doc header
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9308 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-31 22:46:20 +00:00
Bart Van Assche
ffd6f786a6 Merge branch 'svn-trunk' 2020-12-31 08:59:24 -08:00
Bart Van Assche
ea7fac484e qla2x00t-32gbit: Backport to older kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-31 16:59:15 +00:00
Bart Van Assche
4664d87d6a scripts/kernel-functions: Apply the yylloc patch also to scripts/dtc/dtc-lexer.lex.c_shipped
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-31 16:58:27 +00:00
Bart Van Assche
5083a33e21 Merge branch 'svn-trunk' 2020-12-31 08:57:16 -08:00
Bart Van Assche
0895adbb92 scripts/kernel-functions: Unbreak the build against kernel versions 2.6.34[2..7]
Fixes: e3d187f6af ("scripts/kernel-functions: Apply kernel patches more selectively")



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9305 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-31 16:57:10 +00:00
Bart Van Assche
8fa66d5b52 Merge branch 'svn-trunk' 2020-12-28 16:34:45 -08:00