Bart Van Assche
613faef565
isert-scst: Port to kernel v5.3 (merge r8475 and r8482 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8483 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-25 04:34:41 +00:00
Bart Van Assche
c0db1029f4
scst: Fix the MOFED build (merge r8479 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-24 15:35:19 +00:00
Bart Van Assche
32b49ce1f2
iscsi-scst: Detect at compile time whether or not max_recv_sge is available (merge r8399 from trunk)
...
Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-23 15:11:42 +00:00
Bart Van Assche
561cdf68e8
iscsi-scst, srpt: Restore MOFED_MAJOR and MOFED_MINOR definitions (merge r8397 from trunk)
...
This patch reverts commit bcdb25e550 (r7363).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8469 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-23 15:09:18 +00:00
Bart Van Assche
93a9cf11bc
iscsi-scst: Work around a compatibility problem between MOFED and DTRACE (merge r8396 from trunk)
...
When building against Oracle Linux + MOFED the build fails unless if
DTrace is disabled. Hence disable DTrace for the isert-scst module if
MOFED is detected.
Signed-off-by: Sergey Gorenko <sergeygo@mellanox.com >
[ bvanassche: Left out one empty OFED_CONFIG assignment ]
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8468 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-07-23 15:08:29 +00:00
Bart Van Assche
0f1a61ee60
scst_vdisk: Make flushing work with the rbd driver (merge r8430 from trunk)
...
Some but not all block drivers support REQ_OP_FLUSH. Hence use
REQ_OP_WRITE | REQ_PREFLUSH instead. See also
https://github.com/bvanassche/scst/issues/16 .
Reported-by: Tomohiro Kusumi
Fixes: d41307c162 ("scst: Port to Linux kernel v4.8") # r6991.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8432 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-18 14:18:17 +00:00
Bart Van Assche
7dcd0cc20e
scst_vdisk: Invert an if-condition (merge r8429 from trunk)
...
This patch does not change any functionality.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-06-18 14:13:54 +00:00
Bart Van Assche
a1308234a4
scripts/generate-kernel-patch: Restore the qla2xxx code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-05-01 04:00:47 +00:00
Bart Van Assche
2358f047e9
scripts/generate-kernel-patch: Switch back from qla2x00t-32gbit to qla2x00t
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8282 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-04-30 15:40:00 +00:00
Bart Van Assche
6971f60c14
scripts: Merge r8007:8277 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-04-30 14:27:19 +00:00
Bart Van Assche
06cdc45897
nightly: Merge r8007:8277 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-04-30 14:26:16 +00:00
Bart Van Assche
f72ae6a4d8
scst/include/backport.h: Merge r8018:8271 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-04-30 13:57:11 +00:00
Bart Van Assche
eb6928aa07
scst: Port to Oracle Linux 7 UEKR5 (merge r8018 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8278 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-04-30 13:53:38 +00:00
Bart Van Assche
17de279179
Use KERNEL_DS instead of get_ds() (merge r8057 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8059 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-18 02:13:27 +00:00
Bart Van Assche
25163da641
iscsi-scst: Fix a use-after-free (merge r8056 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8058 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-18 01:01:42 +00:00
Bart Van Assche
9c6ebdf779
nightly, scripts: Merge up to and including r8007 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-07 03:46:34 +00:00
Bart Van Assche
14a0d1764e
scripts: Merge r7826:8001 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8006 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-06 17:02:40 +00:00
Bart Van Assche
aad4c7a9b7
scst: Fix the get_user_pages() backport for kernel versions >= v4.4.168 (merge r7997 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8005 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-06 17:01:23 +00:00
Bart Van Assche
6112faf92f
scst: Remove the kernel_write() backport (merge r7988 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@8004 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-03-06 17:00:04 +00:00
Bart Van Assche
8bd5fea925
scst_vdisk: Fix a use-after-free (merge r7993 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7994 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-02-25 06:15:11 +00:00
Bart Van Assche
6facf86d2c
scst_vdisk: Avoid that setting numa_node_id causes unloading scst_vdisk to hang (merge r7927 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7928 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-02-16 16:52:03 +00:00
Bart Van Assche
bf705eaf11
ib_srpt: Remove non-standard support for immediate data (merge r7852 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7899 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 23:59:07 +00:00
Bart Van Assche
db55949455
Makefiles: Stop using $(SUBDIRS) (merge r7851 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7898 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:57:33 +00:00
Bart Van Assche
097385d9fc
scst_dlm: Fix scst_read_file() (merge r7872 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7897 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:56:29 +00:00
Bart Van Assche
04127f2dea
srpt: Port to Linux kernel v5.0 (merge r7853 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7896 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:46:50 +00:00
Bart Van Assche
8956c74b67
scst: Complain loudly if 'fs' is incorrect (merge r7873 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7895 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:44:01 +00:00
Bart Van Assche
c87ada6fb6
scst: Suppress compiler warnings about redefining WRITE_VERIFY_16 on RHEL 7
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7894 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:41:45 +00:00
Bart Van Assche
88346b4aaf
Merge r7891 and r7892 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:39:34 +00:00
Bart Van Assche
e712d32d79
scst: Provide a definition for bdev_io_opt() for kernel versions < v2.6.32 (merge r7878 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7890 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:31:05 +00:00
Bart Van Assche
3838f3912a
scst: Backport scst_blk_rq_cpu() to kernel versions before v2.6.28 (merge r7877 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:30:17 +00:00
Bart Van Assche
2b477bd719
scst: Port to Linux kernel v5.0 (merge r7849 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7888 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:27:19 +00:00
Bart Van Assche
5d081b0af4
scst: Make scst_alloc_add_tgt_dev() somewhat easier to read (merge r7848 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7887 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:26:38 +00:00
Bart Van Assche
e55d5e7176
scst: Backport kernel_read() to kernel versions before v4.14 (merge r7880 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7886 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:22:05 +00:00
Bart Van Assche
2aad26460b
scst: Disable I/O context sharing for kernel v4.21 and later kernels (merge r7855 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:21:08 +00:00
Bart Van Assche
da4513b557
scst: Fix RHEL 7.6 'EPOLLHUP undeclared' build error (merge r7843 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7884 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:19:52 +00:00
Bart Van Assche
9f6e126e77
scst/include/backport.h: Suppress a compiler warning (merge r7881 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-13 21:15:49 +00:00
Bart Van Assche
c479134bf1
scst_dlm: Refuse to proceed if parsing the DLM node IDs failed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7871 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-12 05:03:25 +00:00
Bart Van Assche
7bfd555406
scst_dlm: Change four EXTRACHECKS_BUG_ON() statements into WARN_ON_ONCE() statements (merge r7868 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7870 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-12 05:02:31 +00:00
Bart Van Assche
addfc2e6d4
scst_vdisk: Avoid that saving and restoring scst.conf reduces vdisk_blockio size (merge r7841 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7859 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-05 02:04:20 +00:00
Bart Van Assche
3ee65c81cd
qla2x00t: Read MBX_2 after MBC_PORT_NODE_NAME_LIST (merge r7839 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7858 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-04 02:25:45 +00:00
Bart Van Assche
e24fcb6bb4
Merge r7856 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7857 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-01-04 02:24:42 +00:00
Bart Van Assche
dc5e6f64ad
Bump release data from November 4th to November 25th
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
v3.3
2018-11-26 00:39:12 +00:00
Bart Van Assche
eea998f6f2
Merge r7822:7826 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7827 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-22 21:07:45 +00:00
Bart Van Assche
212a187353
scripts/generate-kernel-patch: Download the kernel tarball if necessary (merge r7821 from trunk)
...
From Pascal de Bruijn <p.debruijn@unilogic.nl >.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7822 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-21 02:59:04 +00:00
Bart Van Assche
06ac749cdb
scripts/generate-release-archive: Fix both soft links when creating a release archive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7819 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 04:18:17 +00:00
Bart Van Assche
0af8219cee
scripts/list-source-files: Include soft links in the release archive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7818 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 04:11:21 +00:00
Bart Van Assche
673bd94e55
Makefile, scstadmin/Makefile: Omit the revision number dot if the source files are not under source control
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7817 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 04:10:09 +00:00
Bart Van Assche
eca14fa701
scripts/generate-release-archive: Store the tar archive in the parent directory
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 03:38:22 +00:00
Bart Van Assche
1365d9b29d
scripts/generate-release-archive: Fix shellcheck warnings and add -h to the tar command line
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7814 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-19 01:51:41 +00:00
Bart Van Assche
2d1e614aa1
scst, iscsi-scst: Port to Linux kernel v4.20 (merge r7810 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2018-11-18 23:39:57 +00:00