Bart Van Assche
87347442fd
isert-scst: Port to Linux kernel v4.4
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6699 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 22:11:37 +00:00
Bart Van Assche
098f6bd1c5
ib_srpt: Kernel v4.4 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6698 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 22:10:54 +00:00
Bart Van Assche
337fe08a72
scst_vdisk: Kernel v4.4 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 22:10:33 +00:00
Bart Van Assche
1c349edbc0
scst_pres: Suppress a compiler warning when building against a kernel with no DLM support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 22:10:03 +00:00
Bart Van Assche
96bdede086
scst: Make it easier to build without DLM support
...
With this change all that is required to build without DLM support
is to add the following in scst_priv.h:
#undef CONFIG_DLM
#undef CONFIG_DLM_MODULE
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 19:36:01 +00:00
Vladislav Bolkhovitin
1c9b1f0baa
scst: Rework Copy Manager's sysfs interface
...
The old version had management incompatible with scstadmin and had
issues with LUNs management.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 04:09:50 +00:00
Vladislav Bolkhovitin
f2d7532eb1
scst: Add user space control for suspend/resume activities
...
Useful to speed up mass management
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6693 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-18 03:59:30 +00:00
Bart Van Assche
10a3374bc0
scstadmin: Pass $PREFIX to Makefile.PL
...
Signed-off-by: Alexey Mochkin <alukardd@alukardd.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-14 01:07:27 +00:00
Bart Van Assche
7588498c4a
scstadmin: Leave out the copy manager from the driver list
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6690 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-13 21:07:50 +00:00
Bart Van Assche
cfe0d34201
scstadmin: Do not try to clear copy manager assignments
...
This patch avoids that the following error message is displayed on the
console while "/etc/init.d/scst start" is executed:
scst: scst_cm_mgmt:3556:***ERROR***: Device copy_manager_tgt not found
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-13 19:07:10 +00:00
Bart Van Assche
06708a1d03
scst: Fix kernel 2.6.36 build
...
Avoid that compilation fails with the following error message:
include/linux/slub_def.h:246: error: conflicting types for ‘kmalloc’
include/scst/backport.h:458: error: implicit declaration of function ‘kmalloc’
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6688 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-13 16:26:09 +00:00
Vladislav Bolkhovitin
c3f3e0aa64
Update the root README regarding QLogic target driver
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 23:33:45 +00:00
Bart Van Assche
3f818ef30e
scst_lib: Avoid using 64-bit divisions
...
Reported-by: Sebastian Herbszt <herbszt@gmx.de >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 22:17:59 +00:00
Bart Van Assche
8b7820129a
qla2x00t: Use strlcpy() instead of strcpy()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:30:42 +00:00
Bart Van Assche
2bdb7bfc8d
qla2x00t: Do not compare an array pointer with NULL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:30:15 +00:00
Bart Van Assche
22a203d843
qla2x00t: Suppress a Coverity complaint about a potential buffer overflow
...
Coverity reported the following:
Copy into fixed size buffer (STRING_OVERFLOW)
fixed_size_dest: You might overrun the 17 byte fixed-size string
ha->model_number by copying def without checking the length.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 18:26:26 +00:00
Bart Van Assche
e1d9ed0128
scst_copy_mgr: Fix indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 17:43:26 +00:00
Vladislav Bolkhovitin
2c6eac2c24
SVN_TAGS updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6679 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 03:45:07 +00:00
Vladislav Bolkhovitin
254f91f291
scst: Fix race leading to extra device unblocking in mix of strictly serialized and TM commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 01:08:06 +00:00
Vladislav Bolkhovitin
cf4aa89416
Cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 01:06:51 +00:00
Bart Van Assche
c800406f8c
scstadmin, test 03: Skip the copy manager
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 23:57:31 +00:00
Bart Van Assche
fea566969f
scstadmin: Do not save copy_manager LUN definitions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6671 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 23:56:56 +00:00
Bart Van Assche
0597ac78c8
iscsi-scst: Fix IPv6 format specifications
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 22:05:05 +00:00
Bart Van Assche
4bda296d64
isert-scst: Fix an IPv6 format specification
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 22:04:42 +00:00
Bart Van Assche
295910c6c7
scst_dlm: Use kstrtoul() instead of simple_strtoul()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 14:39:01 +00:00
Bart Van Assche
147aededc7
scst: Insert a blank line after each declaration
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 14:24:14 +00:00
Bart Van Assche
fe7321fd7a
scst_copy_mgr: Join two strings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6666 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 14:18:55 +00:00
Bart Van Assche
d4266b0751
scst_copy_mgr: Spelling fix - desriptors -> descriptors
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 14:18:04 +00:00
Bart Van Assche
876ebe3b6e
scst_copy_mgr: Fix a checkpatch complaint about whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 14:17:04 +00:00
Bart Van Assche
a8e9edf349
scst: Fix in-tree build for kernels before 4.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 05:12:38 +00:00
Bart Van Assche
1b18a81264
scst: Fix in-tree build for kernel 4.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 04:58:43 +00:00
Bart Van Assche
16045ac1bd
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-11 00:48:11 +00:00
Bart Van Assche
36a48008e9
scst_user, fileio: Fix 2perf build
...
See also trunk r6579.
Reported-by: Alexey Mochkin <alukardd@alukardd.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6660 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 23:32:23 +00:00
Bart Van Assche
9b65d8b809
scst: RHEL 5 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 19:18:39 +00:00
Bart Van Assche
b600a06550
scst: Remove delayed_work function pointer casts
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6658 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 19:18:15 +00:00
Bart Van Assche
0234aa8f99
qla2x00t: Remove a delayed_work function pointer cast
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 19:17:51 +00:00
Bart Van Assche
cd6b27dba4
scst_dlm: Introduce a new local variable
...
This patch does not change any functionality.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6656 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 19:17:20 +00:00
Bart Van Assche
be7c3b3ee8
backport.h: A second build fix for RHEL 6 kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6655 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 16:03:16 +00:00
Bart Van Assche
d434ae4ff6
backport.h: Fix build against 2.6.38 and RHEL 6 kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6654 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 15:49:56 +00:00
Bart Van Assche
9c130c6e14
backport.h: Fix build on 3.2.x kernels for versions >= 3.2.52
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6653 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 15:32:52 +00:00
Bart Van Assche
1a23466c69
qla2x00t: Follow-up for r6635
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6652 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 06:06:08 +00:00
Vladislav Bolkhovitin
3325903ee7
HOWTO update from Willem Boterenbrood <w.boterenbrood@gmail.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 03:58:45 +00:00
Vladislav Bolkhovitin
72ca9f8055
Fixing race leading to lost external unblock requests
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6650 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 03:29:11 +00:00
Bart Van Assche
5b92182215
scst_vdisk: Allow cluster_mode to be set during device creation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 02:16:20 +00:00
Bart Van Assche
99d47d5ce2
scst, qla2x00t: Return ENOTSUPP instead of ENOSYS
...
ENOSYS must only be used inside system calls.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 02:01:57 +00:00
Bart Van Assche
f606f9ef04
scst.spec: Update changelog
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6647 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 01:59:28 +00:00
Bart Van Assche
948482551c
ib_srpt: Follow-up for r6628
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6646 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 01:55:23 +00:00
Bart Van Assche
7d17a328eb
scst_copy_mgr: Verify maximum number of segments
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6645 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 01:07:26 +00:00
Bart Van Assche
6506586af8
scst_copy_mgr: Fix a spelling error
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6644 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 00:27:33 +00:00
Bart Van Assche
3326253e14
scst_copy_mgr: Introduce a symbol for the MAXIMUM DESCRIPTOR LIST LENGTH
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6643 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-10 00:20:33 +00:00