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
Bart Van Assche
e1b30aba0e
scst_lib: Fix three more checkpatch complaints about whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6619 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:03:53 +00:00
Bart Van Assche
566827010d
scst: Insert a blank line after declarations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6618 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:01:57 +00:00
Bart Van Assche
4862b1d3f5
qla2x00t: Insert a blank line after declarations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6617 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:01:05 +00:00
Bart Van Assche
7614eafd64
iscsi-scst: Insert a blank line after declarations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:00:42 +00:00
Bart Van Assche
55f1a2e398
isert-scst: Insert a blank line after declarations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-07 00:00:27 +00:00
Bart Van Assche
e5bbd925fc
scst_local: Insert a blank line after declarations
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 23:23:38 +00:00
Bart Van Assche
819ada124e
scst: Use tabs instead of spaces for indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 19:46:08 +00:00
Bart Van Assche
36a89b1916
scst: Fix processing of scst_event.h in nightly build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6612 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 19:41:04 +00:00
Bart Van Assche
b1cb5ebe79
qla2x00t: Place constants at the right-hand-side in comparisons
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6611 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:55:30 +00:00
Bart Van Assche
8ac8060d69
ib_srpt: Place constants at the right-hand-side in comparisons
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6610 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:55:17 +00:00
Bart Van Assche
999240bcd6
scst_local: Place constants at the right-hand-side in comparisons
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:55:03 +00:00
Bart Van Assche
26049b246f
scst: Place constants at the right-hand-side in comparisons
...
This patch suppresses a class of kernel v4.3 checkpatch complaints.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:54:27 +00:00
Bart Van Assche
90d901fab7
scst: Fix block comment formatting
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:25:59 +00:00