Commit Graph

4549 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
6572bedcb8 iscsid: Logically and negative conditions instead of or-ing these
Logically and negative allowed_portal conditions instead of or-ing these.

This was proposed by Sergej Roytman <spocks.goatee@gmail.com>.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6186 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-24 02:04:58 +00:00
Vladislav Bolkhovitin
b8fe3c6962 Emulex target driver web update from Emulex
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6185 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-24 00:20:59 +00:00
Vladislav Bolkhovitin
918ac63120 iscsi-scst: Add put_page_callback patch for kernel 3.19
Tested against the virtio_net network driver.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6184 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-16 04:08:45 +00:00
Vladislav Bolkhovitin
d7de93ba19 qla2x00t: Kernel 3.19 build fix
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6183 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-16 04:06:37 +00:00
Bart Van Assche
33a4bccc38 ib_srpt: Avoid that aborting a command triggers a race condition
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6181 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-10 05:39:44 +00:00
Vladislav Bolkhovitin
268c7ce246 Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6180 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-10 00:33:05 +00:00
Bart Van Assche
98fb52432c ib_srpt: Specify a valid completion vector during completion queue creation
Avoid that SRP login can fail as follows:

kernel: ib_srpt: failed to create CQ: cqe 320; c.v. 17; ret -22


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6179 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-09 15:06:36 +00:00
Bart Van Assche
8cb332836f scripts/specialize-patch: Fix a bug in evaluate()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6176 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-01 07:17:17 +00:00
Bart Van Assche
b0167433fb qla2x00t: Fix spelling in a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-01 06:39:16 +00:00
Bart Van Assche
356c46e018 qla2x00t: Avoid that checkpatch complains about indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6174 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-01 06:37:50 +00:00
Bart Van Assche
c32f79f6c1 Revert T10-PI support
The T10-PI patch (r6162) increases the time needed to run mkfs.ext4
over iSCSI from less than a second to several minutes. This is a
regression so revert the T10-PI patch until there is sufficient time
to find the root cause of this regression and to fix this regression.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6171 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-31 09:51:24 +00:00
Bart Van Assche
01524f59ce qla2x00t: Fix a checkpatch complaint about whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6170 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-31 07:58:48 +00:00
Bart Van Assche
2dc5f994cf scst.h: Address recently introduced checkpatch complaints about whitespace
Address the following checkpatch complaints:

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
ERROR:SPACING: space required before the open parenthesis '('


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6169 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-30 14:56:42 +00:00
Bart Van Assche
4751a5bf5d scst_vdisk: Fix indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6168 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-30 14:46:00 +00:00
Bart Van Assche
40c138ac23 scst: Kernel 3.19 build fix
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6167 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-30 09:34:16 +00:00
Bart Van Assche
d6db54ebdc ib_srpt: Enable building against OFED headers without patching the build system (follow-up for r6138)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6166 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-29 19:19:36 +00:00
Bart Van Assche
b79e0f7272 scst_main: Insert a blank line after a mutex_unlock() statement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6165 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-29 17:34:10 +00:00
Bart Van Assche
a3f4f28711 Build fixes - follow-up for r6162
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6164 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-29 17:32:59 +00:00
Bart Van Assche
6349372255 iscsi-scst: Switch to the new and preferred approach for printing kernel messages
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6163 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-29 17:28:38 +00:00
Vladislav Bolkhovitin
a3ad8d1832 T10-PI support
Thanks to SanDisk and Emulex for supporting this work!

Tested with Emulex SDK Release 5.2.1



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6162 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-28 05:22:47 +00:00
Bart Van Assche
dbdec5079d nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6161 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-28 02:45:23 +00:00
Vladislav Bolkhovitin
57ae9291b9 iscsi-scst: Concatenate two string literals
This patch fixes the following kernel 3.19 checkpatch complaint:

Consecutive strings are generally better as a single string.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6160 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-27 03:52:37 +00:00
Vladislav Bolkhovitin
b6ea3324e6 scst_vdisk: Fix indentation
Detected by smatch.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6159 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-27 03:50:57 +00:00
Bart Van Assche
536cf0c473 qla2xxx_scst: Remove trailing whitespace
Detected by checkpatch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6158 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-26 15:20:44 +00:00
Vladislav Bolkhovitin
cac086b68b scst: Kernel 4.0 build fix
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6157 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-26 04:11:21 +00:00
Vladislav Bolkhovitin
5cc7555cd9 iscsi-scst: Rework sparse annotations
Do not declare kernel pointers as __user but instead cast these to
__user just before assigning these to iov_base.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6156 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-26 00:33:45 +00:00
Vladislav Bolkhovitin
572869d64a scst_local: Kernel 3.19 build fix
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6155 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-26 00:06:51 +00:00
Vladislav Bolkhovitin
65f1c58e28 scst: Kernel 3.19 build fix
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6154 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-26 00:04:24 +00:00
Vladislav Bolkhovitin
ea60935622 qla2x00t: fix proc build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6153 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-26 00:02:19 +00:00
Bart Van Assche
90da428ec2 scst_vdisk: Insert blank line after declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6152 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 20:30:55 +00:00
Bart Van Assche
77cc4fb7e0 Add kernel 3.19 nightly build support infrastructure
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6151 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 20:29:50 +00:00
Bart Van Assche
9c037ae577 scstadmin: Fix saving groups without LUNs
Reported-by: Aayush Kasurde <aayush.kasurde@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6150 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 19:43:30 +00:00
Vladislav Bolkhovitin
2090b6811a qla2x00t: remove detect() callback
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6149 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 01:00:06 +00:00
Vladislav Bolkhovitin
a788a4efd7 Newer version of QLogic target driver with 16G (26xx/83xx) support
This version is production used by SanDisk for quite some time and
passed all very hard internal tests. However, due to original qla2xxx
issues NPIV is not working in this version, so if you need NPIV either
use v3.0 of this driver or the driver from the QLogic git.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6148 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 00:32:39 +00:00
Vladislav Bolkhovitin
04d53bfb14 Small logging improvement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6147 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-25 00:21:16 +00:00
Vladislav Bolkhovitin
fe38e4acb2 Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-19 00:01:03 +00:00
Vladislav Bolkhovitin
842a168c7a Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6145 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-18 23:37:06 +00:00
Vladislav Bolkhovitin
a1bdbdef34 SVN ignores updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6144 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-18 23:25:33 +00:00
Bart Van Assche
1699051be2 nightly build: Update a kernel version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6142 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-06 15:53:37 +00:00
Bart Van Assche
1c8574763b ib_srpt, Makefile: Pass same flags to "make modules" and to "make install"
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6141 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-04 10:42:38 +00:00
Bart Van Assche
0e292ac2d8 ib_srpt: Follow-up for r6138
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-03 15:49:22 +00:00
Bart Van Assche
940faa9ad4 ib_srpt: Enable building against OFED headers without patching the build system
Additionally, include the OFED flavor name in the ib_srpt version number.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6138 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-02 14:28:25 +00:00
Bart Van Assche
ef48d260d2 ib_srpt: Suppress a compiler warning when building against Mellanox OFED
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6137 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-03-02 14:24:33 +00:00
Vladislav Bolkhovitin
f59f2ab6ab scst_disk: Avoid overflow for large max_hw_sectors values
Avoid that max_sectors << block_shift overflows for large max_sectors
values by changing the test ((max_sectors << block_shift) < PAGE_SIZE)
into (max_sectors < (PAGE_SIZE >> block_shift)).

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6136 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-28 03:35:59 +00:00
Vladislav Bolkhovitin
88d8018183 Web updates for 3.0.1 release
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6135 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-25 05:18:02 +00:00
Bart Van Assche
7d3686b481 scstadmin: Suppress a Perl warning
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6134 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:46:10 +00:00
Bart Van Assche
1b31f90912 scripts/generate-release-archive: Include build_mode file in generated archives
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:36:38 +00:00
Bart Van Assche
d9c1ffa29a iscsi-scst/usr/Makefile: Fix include path
Use the SCST_INC_DIR variable passed by the parent Makefile such that
both the in-tree and out-of-tree builds work.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 14:10:54 +00:00
Bart Van Assche
94a4227449 Makefile: Add top-level release-archive target
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 13:36:12 +00:00
Bart Van Assche
1ffffec68a scripts/update-version: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-24 13:01:07 +00:00