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
Bart Van Assche
8e119def8d
scst.h: Reformat a comment to suppress a checkpatch complaint
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6606 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:20:08 +00:00
Bart Van Assche
35a3a03428
scst: Spelling fix - change handler into handler
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6605 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:18:01 +00:00
Bart Van Assche
48c2bd8903
scst_vdisk: Remove trailing whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6604 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:16:42 +00:00
Bart Van Assche
e4fccdcc13
scst_lib: Remove space before closing parenthesis
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6603 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:16:04 +00:00
Bart Van Assche
e556a79e3d
scst_vdisk: Do not initialize static variables to zero
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6602 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:14:54 +00:00
Bart Van Assche
5dd3194e66
scst_user: Avoid leaking kernel data to user space
...
There is a hole in struct scst_user_opt so that structure must be
zero-initialized to avoid leaking kernel data to user space.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6601 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:04:49 +00:00
Bart Van Assche
5d73f89bb0
isert-scst: Remove unreachable code
...
Code after BUG() is unreachable both with CONFIG_BUG=y and with
CONFIG_BUG=n. Hence remove such code. Detected by smatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6600 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 18:03:36 +00:00
Bart Van Assche
40db391c12
scst_event: Avoid that payload lengths above 0x80000000 cause trouble (detected by smatch)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6599 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 17:54:00 +00:00
Bart Van Assche
b6440a0d3b
scst_tg: Suppress a smatch complaint
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6598 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 17:48:37 +00:00
Bart Van Assche
d9bd3f56cf
scst_lib: Fix return type of __scst_adjust_sg_get_tail()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 17:46:28 +00:00
Bart Van Assche
c5aa1ce1e0
scst_dlm: Add __printf attribute to create_st_wq()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6596 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 17:37:13 +00:00
Bart Van Assche
f38dbc2dff
scst_dlm: Build fix for older kernels (2.6.32)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 17:36:46 +00:00
Vladislav Bolkhovitin
db608b6075
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 06:48:01 +00:00
Vladislav Bolkhovitin
5f7ac7f4bf
Version updated to 3.2.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6593 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 06:17:17 +00:00
Vladislav Bolkhovitin
e00b83998f
VAAI docs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6590 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 04:01:29 +00:00
Vladislav Bolkhovitin
3fc775c75a
EXTENDED COPY support
...
Prepared with help from Sushma Gurram <Sushma.Gurram@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6589 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:58:00 +00:00
Vladislav Bolkhovitin
54cf21076a
New COMPARE AND WRITE implementation
...
Prepared with help from Sushma Gurram <Sushma.Gurram@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6588 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:56:48 +00:00
Vladislav Bolkhovitin
aff6012d44
Remove old COMPARE AND WRITE implementation
...
Prepared with help from Sushma Gurram <Sushma.Gurram@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6587 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:55:35 +00:00
Vladislav Bolkhovitin
daee4dcb7e
WRITE SAME command improvements
...
Prepared with help from Sushma Gurram <Sushma.Gurram@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6586 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:54:23 +00:00
Vladislav Bolkhovitin
2b202209ca
ALUA DRBD compatibility
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6585 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:52:52 +00:00
Vladislav Bolkhovitin
ecbe9d17a1
Serialize STPG commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:51:35 +00:00
Vladislav Bolkhovitin
55c46e4106
Delay SCSI commands in TRANSITIONING ALUA state to ease initiators load
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:50:37 +00:00
Vladislav Bolkhovitin
3636664071
Various SCST events producers
...
Prepared with help from Prasidh Srikanth <Prasidh.Srikanth@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:49:14 +00:00
Vladislav Bolkhovitin
c619567bba
SCST events sample user space consumer
...
Prepared with help from Prasidh Srikanth <Prasidh.Srikanth@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:48:24 +00:00
Vladislav Bolkhovitin
a2556e2e01
svn:ignore added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:45:10 +00:00
Vladislav Bolkhovitin
ae38d284e0
Explicit ALUA user space
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:40:37 +00:00
Vladislav Bolkhovitin
2ecfcdc643
Improve logging
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:35:50 +00:00
Vladislav Bolkhovitin
9ce3d2989a
Missed piece from the previous commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6577 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:31:04 +00:00
Vladislav Bolkhovitin
e50f240d33
Explicit ALUA support
...
Prepared with help from Prasidh Srikanth <Prasidh.Srikanth@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6576 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 03:28:53 +00:00