Bart Van Assche
166c12eb49
ib_srpt: Account RDMA writes into sq_wr_avail
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6544 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-14 22:21:47 +00:00
Bart Van Assche
fd6e33756c
ib_srpt: Fix error handling in srpt_xmit_response()
...
This patch fixes a regression introduced in patch "ib_srpt: Convert
srpt_xfer_data() return value" (trunk r6103).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6543 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-14 22:21:26 +00:00
Bart Van Assche
b7f49e8afc
ib_srpt: Fix a diagnostic message
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6542 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-14 22:19:12 +00:00
Bart Van Assche
cd346f8c64
ib_srpt: Remove dead code
...
This is a follow-up for patch "ib_srpt: Micro-optimize SCSI command
processing" (trunk r4784).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6541 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-14 22:18:47 +00:00
Bart Van Assche
3438e73474
ib_srpt: Fix grammar in a source code comment
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6540 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-14 22:15:27 +00:00
Bart Van Assche
ae53973843
README_in-tree: Sync with README
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6539 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-14 16:32:35 +00:00
Bart Van Assche
287db32df3
scst/README: Fix ALUA state in ALUA example
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6538 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-13 17:34:28 +00:00
Bart Van Assche
cc30240b4a
scst/README: Fix group_id numbers in ALUA example
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6537 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-13 17:33:43 +00:00
Vladislav Bolkhovitin
4a0681e034
Follow up for the previous commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6536 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-08 01:13:35 +00:00
Vladislav Bolkhovitin
8a5d29fa5e
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6535 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-08 01:09:56 +00:00
Vladislav Bolkhovitin
12ba32186b
scst: Allow replace a LUN without generating INQUIRY DATA HAS CHANGED (for failover)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6534 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-08 00:13:00 +00:00
Vladislav Bolkhovitin
a975c37117
scst_vdisk: shared FD must be open with the least restricted mode
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6533 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-07 02:35:36 +00:00
Bart Van Assche
1be8004ca7
scst/README_in-tree: Minimize diffs with scst/README
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6532 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-06 13:47:18 +00:00
Bart Van Assche
530af782ed
scst_vdisk: Add 'sync' sysfs attribute
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6531 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-06 01:07:31 +00:00
Bart Van Assche
6bf6dd8d1f
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6530 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-03 20:35:11 +00:00
Bart Van Assche
00301a314b
scst_const.h: Add DID_TARGET_FAILURE for older kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6529 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-03 04:33:27 +00:00
Bart Van Assche
50848fb0c4
scst.h: Do not surround return statement expressions with parentheses
...
This avoids that checkpatch reports "return is not a function".
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6528 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-02 16:10:35 +00:00
Bart Van Assche
6124bf0608
scst_debug.h: Use tabs for indentation instead of spaces
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6527 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-02 16:09:58 +00:00
Vladislav Bolkhovitin
d84effde0a
Ignore DID_TARGET_FAILURE if status already set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6526 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-02 02:30:13 +00:00
Bart Van Assche
1eeb9893f2
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-10-01 21:28:39 +00:00
Bart Van Assche
47a1dcfc75
scst_lib: Fix a recently introduced regression
...
Due to patch "scst_lib: Fix a stack overflow" (r6500) there is a small
chance that not every scst_put_acg() call decreases the acg reference
count. Fix this.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-30 22:23:15 +00:00
Bart Van Assche
920f430089
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6523 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-30 03:41:31 +00:00
Bart Van Assche
f8954fe5f7
scst: Port to Linux kernel v4.3
...
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-29 00:08:51 +00:00
Bart Van Assche
bd6d12aa38
isert-scst: Kernel v4.3 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-29 00:07:48 +00:00
Bart Van Assche
17f1770fab
ib_srpt: Port to Linux kernel v4.3.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6520 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-29 00:06:08 +00:00
Bart Van Assche
4222dc4830
scst_tg: Reject READ and WRITE commands for ports that are in the ALUA state "standby"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6519 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-23 17:10:10 +00:00
Bart Van Assche
5f46c87feb
scst_tg: Let the unavailable filter accept more commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6518 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-23 17:02:31 +00:00
Bart Van Assche
7a23817eed
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6517 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-23 13:18:19 +00:00
Vladislav Bolkhovitin
af841c5c53
Decrease MULTI_CMDS_CNT for better parallelism
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6516 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-18 01:24:10 +00:00
Bart Van Assche
837413b419
scripts/specialize-patch: Fix handling of complex #if / #elif / #else / #endif constructs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6515 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 21:17:55 +00:00
Bart Van Assche
3c3590a477
scripts/specialize-patch: Simplify implementation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6514 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:57:47 +00:00
Bart Van Assche
ead4f8c43e
scripts/specialize-patch: Simplify implementation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:57:11 +00:00
Bart Van Assche
bd19ba30fd
scripts/specialize-patch: Add more debugging output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 20:34:50 +00:00
Bart Van Assche
f1df6a389b
scripts/specialize-patch: Fix #elif handling
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6511 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-17 18:39:14 +00:00
Bart Van Assche
f4a57df52b
qla2x00t: Convert __constant_cpu_to_*() into cpu_to_*()
...
This change does not affect the generated code but improves source
code readability.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 22:03:06 +00:00
Bart Van Assche
4a858144ec
qla2x00t: Convert __constant_htonl() into htonl()
...
The function htonl() checks whether its argument is a constant
and is evaluated by the compiler if its argument is a constant.
This means that __constant_htonl() can be changed into htonl()
without any performance impact.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 21:43:59 +00:00
Bart Van Assche
f18ebc5152
nightly build: Add Linux kernel v4.2
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6508 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 16:44:49 +00:00
Bart Van Assche
cba8f3ab7e
ib_srpt: Build fix for the nightly build against kernel v4.2
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6507 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 16:43:32 +00:00
Bart Van Assche
0cbd279a34
isert-scst: Fix a checkpatch complaint about whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6506 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 16:31:01 +00:00
Bart Van Assche
b85e99da68
nightly build: Add kernel v4.2 build infrastructure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6505 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-16 14:00:26 +00:00
Bart Van Assche
dee1c4e0fc
scst_lib: Fix procfs build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6503 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-15 05:27:12 +00:00
Bart Van Assche
4fb4de5401
scst_vdisk: Kernel 2.6.30 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6502 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-15 05:20:11 +00:00
Bart Van Assche
ae0ee7f76c
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6501 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-14 20:34:39 +00:00
Bart Van Assche
8fdd45a829
scst_lib: Fix a stack overflow
...
Avoid that removing an acg with which a large number of sessions
has been associated triggers a stack overflow due to the following
recursive call chain:
scst_put_acg() -> scst_release_acg() -> scst_free_acg() -> scst_free_acn()
-> scst_check_reassign_sessions() -> scst_check_reassign_sess()
-> scst_put_acg().
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6500 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-14 03:14:06 +00:00
Bart Van Assche
61372fd4dd
vdisk_blockio: Report physical block size correctly
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6499 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-14 03:12:09 +00:00
Bart Van Assche
ed07ec49a8
ib_srpt: Avoid that relogin triggers a large number of FLUSH ERR messages
...
Reported-by: Grant Albitz <Grant@schultztechnology.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6498 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-10 16:31:31 +00:00
Bart Van Assche
68ce2d0ce4
ib_srpt: Port to MOFED 3.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6497 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-08 16:18:27 +00:00
Bart Van Assche
2b5c929181
scst.spec.in: Sort kernel rpm by build time
...
Additionally, fix the logic for determining %{krpmver} if %{kdir} points
to another kernel version than the latest kernel version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6496 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-02 18:43:13 +00:00
Bart Van Assche
1e9900d975
scst.spec: Make this spec file independent of the value of $PATH
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6495 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-01 18:20:09 +00:00
Bart Van Assche
e3d6a018a3
scst.spec: Derive kernel version from %{kdir} if set
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6494 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-09-01 18:12:54 +00:00