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
Bart Van Assche
b739464b4c
scst_sysfs: Fix indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6642 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 21:37:33 +00:00
Bart Van Assche
fecfbad5b7
scst, scst_local: Remove strict_strto*() calls
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 21:30:36 +00:00
Bart Van Assche
f4bd4294a5
scst_vdisk: Make expl_alua sysfs attribute input validation more strict
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6640 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 21:19:42 +00:00
Bart Van Assche
3d57bb3d16
qla2x00t: Use __packed instead of __attribute__((packed))
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 21:03:54 +00:00
Bart Van Assche
b887213933
scst: Add a kmalloc_array() backport
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6638 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:55:46 +00:00
Bart Van Assche
8d4c429d79
scst: Use kmalloc_array() instead of kmalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:09:48 +00:00
Bart Van Assche
9455a2b9dc
isert-scst: Use kmalloc_array() instead of kmalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:09:14 +00:00
Bart Van Assche
5554a2a8b1
qla2x00t: Use kmalloc_array() instead of kmalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:08:43 +00:00
Bart Van Assche
37c4911d4f
ib_srpt: Use kmalloc_array() instead of kmalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 20:08:07 +00:00
Bart Van Assche
469fe4a42c
iscsi-scst: Remove superfluous casts
...
The C language does not require to use an explicit cast when assigning
a void * pointer to a pointer of another type.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6633 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 19:51:17 +00:00
Bart Van Assche
706d4cec40
isert-scst: Convert casts into container_of() where appropriate
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6632 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 19:44:58 +00:00
Bart Van Assche
072c508384
scst_copy_mgr: Remove a superfluous cast
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6631 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 19:40:04 +00:00
Bart Van Assche
8a09beb37d
isert-scst: Fix isert conn tx_free_list resources leak
...
The get and put of resources from the tx_free commands pool was not
symmetric. Commands that are self issued by the target (e.g. nop outs)
didn't release their resources, although they acquired them earlier.
Signed-off-by: Ariel Nahum <arieln@mellanox.com >
Signed-off-by: Alex Lyakas <alex@zadarastorage.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6630 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 19:19:41 +00:00
Bart Van Assche
ceee6fc7e1
scst.spec: Follow-up for r6627
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 19:13:24 +00:00
Bart Van Assche
6a491c8cda
ib_srpt: Avoid that checkpatch complains about using ENOSYS
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6628 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 19:09:44 +00:00
Bart Van Assche
dff29eda4b
scst.spec: Improve robustness of kernel version query code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6627 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 17:55:03 +00:00
Bart Van Assche
5296640e97
qla2x00t: Use kcalloc() instead of kzalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6626 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 17:40:07 +00:00
Bart Van Assche
a6ff47ce0a
scst: Use kcalloc() instead of kzalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6625 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 17:29:20 +00:00
Bart Van Assche
51acfdb0ac
isert-scst: Use kcalloc() instead of kzalloc() with multiply
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-09 17:26:16 +00:00
Vladislav Bolkhovitin
8c55d45181
LSI MPT web update
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 04:04:48 +00:00
Vladislav Bolkhovitin
2610dd0962
Clarify README for qla2x00t_git as suggested by Bart Van Assche <bart.vanassche@sandisk.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6622 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 02:27:47 +00:00
Bart Van Assche
da8016b953
scst: Avoid that checkpatch complains about suspect code indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6621 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:58:18 +00:00
Bart Van Assche
ee4c5fcd7f
scst_lib: Avoid that checkpatch reports that kfree(NULL) is safe
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:10:01 +00:00