Bart Van Assche
b2cc848c36
Merge branch 'svn-trunk'
2015-07-03 06:51:11 -07:00
Vladislav Bolkhovitin
1656efe689
iscsi-scst: small post-r6315 cleanup
...
Avoid that rd_task declared when it is not used
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6408 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-07-03 04:21:52 +00:00
Bart Van Assche
d4a360a903
Merge branch 'svn-trunk'
...
Conflicts:
nightly/conf/nightly.conf
2015-06-27 22:21:52 -07:00
Bart Van Assche
75369451a5
isert-scst/Kconfig: Add InfiniBand dependency
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6402 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-25 14:12:54 +00:00
Bart Van Assche
6b7b48fa62
Merge branch 'svn-trunk'
2015-06-23 08:20:48 -07:00
Bart Van Assche
79c8bf1f7c
iscsi-scst, isert-scst: One trace flags variable per kernel module
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6397 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-23 15:01:17 +00:00
Bart Van Assche
c87e4e2c5e
Merge branch 'svn-trunk'
2015-06-19 21:31:46 -07:00
Bart Van Assche
f0e98ee4b2
isert-scst: Build fix for older kernel versions (< 2.6.29)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6395 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-19 14:06:05 +00:00
Bart Van Assche
97d28a6fc8
Merge branch 'svn-trunk'
2015-06-17 05:51:43 -07:00
Bart Van Assche
46915ef3e5
iscsi-scst: Fix a syntax error
...
Preprocessor directives are not allowed in argument lists of a macro.
This patch reverts r6317.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6393 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 05:00:20 +00:00
Bart Van Assche
40a90a705d
isert-scst: Add address length check in isert_listen_ioctl()
...
Detected by Coverity.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6365 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:19:27 +00:00
Bart Van Assche
26cda0eb38
iscsi-scst: Annotate fall-through cases for Coverity
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6364 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:18:23 +00:00
Bart Van Assche
63cb4a9d40
iscsi-scst: Fix indentation
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6363 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-17 00:09:23 +00:00
Bart Van Assche
612fac9874
isert: Declare a local function static
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 23:55:52 +00:00
Bart Van Assche
eb10fe3f7d
iscsi-scst: Surround complex values with parentheses
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 23:55:22 +00:00
Bart Van Assche
f272064c12
iscsi-scst: Suppress put_page_callback patch warnings
...
The put_page_callback patch only improves performance on single
socket systems but not on systems with multiple CPU sockets.
Since this message is confusing to SCST users, do not print a
warning if the put_page_callback patch has not been applied.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6340 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 23:10:28 +00:00
Bart Van Assche
6b3f45696a
RHEL 7.1: Add put_page_callback patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 20:17:52 +00:00
Bart Van Assche
807c4eacf0
isert: Use break in default case
...
Detected by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 18:51:47 +00:00
Bart Van Assche
7c3b2c4ca6
iscsi-scst: Fix spelling in a source code comment
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 15:53:31 +00:00
Bart Van Assche
6ab09ab073
Merge branch 'svn-trunk'
...
Conflicts:
www/handler_fileio_tgt.html
www/scst_admin.html
www/target_emulex.html
www/target_fcoe.html
www/target_ibmvscsi.html
www/target_iscsi.html
www/target_local.html
www/target_lsi.html
www/target_mvsas.html
www/target_old.html
www/target_qla2x00t.html
www/target_srp.html
www/targets.html
2015-06-16 06:43:56 -07:00
Vladislav Bolkhovitin
3e9eaf6b29
iscsi-scst: small post-r6315 cleanup
...
Avoid that rd_task when it is not used
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6317 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-16 01:43:26 +00:00
Bart Van Assche
50efe30317
Merge branch 'svn-trunk'
2015-06-15 18:22:57 -07:00
Bart Van Assche
7566e2ed71
Avoid that compiler warnings depend on the build mode
...
It is annoying that some warnings are only reported in release mode.
Modify scst_debug.h such that the compiler does not report variables
that are only used in debug builds as unused.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-15 22:15:07 +00:00
Bart Van Assche
15535bf648
iscsi-scst: Suppress a compiler warning
...
Avoid that the compiler complains that the variable 'pad_bytes'
is not used with CONFIG_LIBCRC32C=n.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-15 22:06:29 +00:00
Bart Van Assche
481b641e64
Merge branch 'svn-trunk'
2015-06-13 06:32:15 -07:00
Bart Van Assche
0d9d6a6f57
isert-scst: Fix in-tree build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-12 16:15:45 +00:00
Bart Van Assche
a2a22c0b95
isert-scst: Shorten the compiler include path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-12 15:31:05 +00:00
Bart Van Assche
e62155683e
iscsi-scst: Fix a compiler warning for kernel versions >= 3.19
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-12 15:29:56 +00:00
Bart Van Assche
6aaeca1cd9
Merge iser branch r6234 into trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-06-10 15:35:26 +00:00
Bart Van Assche
45f2cfa7ef
isert: Use break in default case
...
Detected by checkpatch.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-06-07 06:25:10 -07:00
Bart Van Assche
ce09b1bb21
iscsi-scst, isert: Add address length check in isert_listen_ioctl()
...
Detected by Coverity.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-05-06 14:57:14 +02:00
Bart Van Assche
231218932b
iscsi-scst: Tell Coverity when scst_aen is set
...
This suppresses a Coverity complaint.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
2015-05-06 14:57:14 +02:00
Bart Van Assche
f54553c148
iscsi-scst: Annotate fall-through cases for Coverity
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-05-06 14:57:14 +02:00
Bart Van Assche
7d3005fdbc
iscsi-scst: Fix indentation
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-05-06 14:57:14 +02:00
Bart Van Assche
ae7819e8f0
scst_debug: Avoid that compiler warnings depend on the build mode
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-05-06 14:57:13 +02:00
Bart Van Assche
4177648d92
isert: Declare a local function static
...
Detected by checkpatch.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-05-03 20:59:37 +02:00
Bart Van Assche
7abae677f1
iscsi-scst: Surround complex values with parentheses
...
Detected by checkpatch.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-05-03 20:59:36 +02:00
Bart Van Assche
1c71987ad6
Merge branch 'svn-iser'
...
Conflicts:
Makefile
fcst/Makefile
iscsi-scst/Makefile
iscsi-scst/include/iscsi_scst.h
iscsi-scst/include/iscsi_scst_ver.h
iscsi-scst/kernel/Makefile
iscsi-scst/kernel/config.c
iscsi-scst/kernel/conn.c
iscsi-scst/kernel/digest.c
iscsi-scst/kernel/digest.h
iscsi-scst/kernel/event.c
iscsi-scst/kernel/iscsi.c
iscsi-scst/kernel/iscsi.h
iscsi-scst/kernel/iscsi_dbg.h
iscsi-scst/kernel/iscsi_hdr.h
iscsi-scst/kernel/nthread.c
iscsi-scst/kernel/param.c
iscsi-scst/kernel/session.c
iscsi-scst/kernel/target.c
iscsi-scst/usr/Makefile
iscsi-scst/usr/chap.c
iscsi-scst/usr/config.c
iscsi-scst/usr/conn.c
iscsi-scst/usr/ctldev.c
iscsi-scst/usr/event.c
iscsi-scst/usr/iscsi_adm.c
iscsi-scst/usr/iscsi_adm.h
iscsi-scst/usr/iscsi_hdr.h
iscsi-scst/usr/iscsi_scstd.c
iscsi-scst/usr/iscsid.c
iscsi-scst/usr/iscsid.h
iscsi-scst/usr/isns.c
iscsi-scst/usr/isns_proto.h
iscsi-scst/usr/log.c
iscsi-scst/usr/message.c
iscsi-scst/usr/misc.c
iscsi-scst/usr/misc.h
iscsi-scst/usr/param.c
iscsi-scst/usr/param.h
iscsi-scst/usr/session.c
iscsi-scst/usr/target.c
iscsi-scst/usr/types.h
nightly/conf/nightly.conf
qla2x00t/qla2x00-target/Makefile
qla2x00t/qla2x00-target/README
qla2x00t/qla2x00-target/qla2x00t.c
qla2x00t/qla2x00-target/qla2x00t.h
qla2x00t/qla2x_tgt.h
qla2x00t/qla2x_tgt_def.h
qla2x00t/qla_attr.c
qla2x00t/qla_init.c
qla2x00t/qla_inline.h
qla2x00t/qla_isr.c
qla2x00t/qla_mbx.c
qla2x00t/qla_os.c
scripts/generate-release-archive
scripts/rebuild-rhel-kernel-rpm
scripts/run-regression-tests
scst.spec.in
scst/Makefile
scst/README
scst/README_in-tree
scst/include/scst.h
scst/include/scst_const.h
scst/include/scst_debug.h
scst/include/scst_sgv.h
scst/include/scst_user.h
scst/src/Makefile
scst/src/dev_handlers/Makefile
scst/src/dev_handlers/scst_cdrom.c
scst/src/dev_handlers/scst_changer.c
scst/src/dev_handlers/scst_disk.c
scst/src/dev_handlers/scst_modisk.c
scst/src/dev_handlers/scst_processor.c
scst/src/dev_handlers/scst_raid.c
scst/src/dev_handlers/scst_tape.c
scst/src/dev_handlers/scst_user.c
scst/src/dev_handlers/scst_vdisk.c
scst/src/scst_debug.c
scst/src/scst_lib.c
scst/src/scst_main.c
scst/src/scst_mem.c
scst/src/scst_mem.h
scst/src/scst_module.c
scst/src/scst_pres.c
scst/src/scst_pres.h
scst/src/scst_priv.h
scst/src/scst_proc.c
scst/src/scst_sysfs.c
scst/src/scst_targ.c
scst/src/scst_tg.c
scst_local/scst_local.c
srpt/Makefile
srpt/README
srpt/README.ofed
srpt/conftest/gid_change/Makefile
srpt/src/ib_srpt.c
srpt/src/ib_srpt.h
usr/fileio/Makefile
usr/fileio/common.c
usr/fileio/common.h
usr/fileio/debug.c
usr/fileio/debug.h
usr/fileio/fileio.c
www/comparison.html
www/contributing.html
www/downloads.html
www/handler_fileio_tgt.html
www/index.html
www/mc_s.html
www/scst_admin.html
www/scstvslio.html
www/scstvsstgt.html
www/solutions.html
www/target_emulex.html
www/target_fcoe.html
www/target_ibmvscsi.html
www/target_iscsi.html
www/target_local.html
www/target_lsi.html
www/target_mvsas.html
www/target_old.html
www/target_qla2x00t.html
www/target_srp.html
www/targets.html
www/users.html
2015-05-03 19:07:39 +02:00
Bart Van Assche
4f445f4c33
Merge branch 'svn-trunk' r6192
...
Conflicts:
scst/include/scst.h
scst/src/dev_handlers/scst_vdisk.c
2015-05-01 08:15:50 +02:00
Bart Van Assche
b493c5b8f6
Merge branch 'svn-trunk' (r6189)
...
Conflicts:
iscsi-scst/kernel/nthread.c
qla2x00t/qla_iocb.c
scst/src/scst_lib.c
www/target_emulex.html
2015-05-01 08:07:43 +02:00
Vladislav Bolkhovitin
906f4dfefb
Merge t10-pi branch back
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-05-01 04:21:56 +00:00
Bart Van Assche
76be413535
RHEL 7.1: Add put_page_callback patch
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-04-24 12:29:31 +02:00
Vladislav Bolkhovitin
1e78126962
iscsi-scst: update for 3.19 kernels
...
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com > with some improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6187 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-04-24 02:54:52 +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
Bart Van Assche
a8a2725815
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 >
2015-04-13 18:44:00 +02:00
Bart Van Assche
904b3c1eb3
iscsi-scst: Kernel 3.19 build fix
...
Change the data type of iscsi_conn.read_iov into struct kvec * and
switch from iscsi_conn.read_size to iscsi_conn.read_msg.count for
kernel version 3.19 and later. Cast the return type of
get_zeroed_page() to void * since with this patch the read_iov
data type depends on the kernel version. Remove the (void __force
__user *) casts when assigning to iov_base since for a kvec iov_base
is a kernel pointer instead of a user space pointer. Switch to
iov_iter_kvec() to initialize conn->read_msg.msg_iter.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-04-13 18:44:00 +02:00
Bart Van Assche
02c014bf90
iscsi-scst: Prepare for kernel 3.19
...
Rework the iSCSI target driver code such that it becomes easier
to port this code to kernel 3.19.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-04-13 18:44:00 +02:00
Bart Van Assche
e860c56bcd
iscsi-scst: Suppress put_page_callback patch warnings
...
The put_page_callback patch only improves performance on single-socket
systems but not on systems with multiple CPU sockets. Hence do not
print a warning if the put_page_callback patch has not been applied.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
2015-04-13 18:44:00 +02: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
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