Bart Van Assche
19fb455bc2
SVN_TAGS: Add 3.1.0 version information
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6791 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-28 04:11:54 +00:00
Vladislav Bolkhovitin
8b4a1cc3ff
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6790 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-28 04:07:06 +00:00
Bart Van Assche
559d075553
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6789 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-28 01:21:59 +00:00
Vladislav Bolkhovitin
fa2f54ac9e
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:04:43 +00:00
Vladislav Bolkhovitin
1e75da4289
3.1 release web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6786 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 03:54:38 +00:00
Vladislav Bolkhovitin
5968cb4567
docs: version updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6785 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 03:08:44 +00:00
Bart Van Assche
1d3f1ada5a
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6784 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-20 16:40:19 +00:00
Bart Van Assche
c7ed845936
user space code: Fix the code for generating a release archive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6782 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-20 00:35:29 +00:00
Bart Van Assche
76b1344cd3
ib_srpt: Fix in-tree build for kernel v4.4
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6780 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 18:08:36 +00:00
Bart Van Assche
120e5fb78b
nightly build: Add kernel 4.4 support files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6779 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 18:08:04 +00:00
Bart Van Assche
cf28155105
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-16 02:42:17 +00:00
Bart Van Assche
a06cae9fe6
scst_tg: Report that SCST supports the ALUA state "transitioning"
...
Reported-by: Consus <consus@gmx.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-05 15:27:11 +00:00
Bart Van Assche
71f004f44c
scst: SLES 12 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6775 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-20 12:46:16 +00:00
Bart Van Assche
10bc776195
scst: Fix a procfs compiler warning
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6773 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 12:39:16 +00:00
Bart Van Assche
9294102efe
scst: Fix a RHEL 6 compiler warning
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 12:11:18 +00:00
Bart Van Assche
39c3b79497
scst regression test 7: Fix $redirect_file initialization
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:39:19 +00:00
Bart Van Assche
41434a9905
scstadmin: Suppress warnings about the use of an undefined value in numeric ne (!=)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:05:20 +00:00
Bart Van Assche
0553954a79
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6763 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 16:10:53 +00:00
Bart Van Assche
44901a0a11
scst: Fix write-protected response
...
From SBC-4: "If present, any write protection shall cause otherwise
valid logical block access commands that request alteration of the
medium to be terminated by the device server with CHECK CONDITION
status with the sense key set to DATA PROTECT and the appropriate
additional sense code for the condition."
Hence set the additional sense code in responses to SCSI commands
sent to read-only LUNs.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6743 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 07:07:01 +00:00
Bart Van Assche
df2a2ac1ab
iscsi-scst, procfs: Fix a compiler warning
...
Avoid that the compiler warns that attr_info is not used in the procfs
build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6742 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-16 08:44:04 +00:00
Bart Van Assche
fa45db4caf
scst, procfs: Fix two section mismatches
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-16 08:41:09 +00:00
Bart Van Assche
034f8bc3f1
isert-scst: Unbreak nightly build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6740 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-12 16:02:37 +00:00
Bart Van Assche
7eb874c3ba
isert-scst: RHEL 7.2 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6739 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 23:44:27 +00:00
Bart Van Assche
b3dcab787a
scstadmin: Bump SCST.pm version number from 0.9.10 to 1.0.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6738 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 22:44:23 +00:00
Bart Van Assche
ed118eb69e
scstadmin: Fix regression test 7
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 22:39:55 +00:00
Bart Van Assche
d25d044b3f
scstadmin: Fix SCST/SCST.pm path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 20:03:09 +00:00
Bart Van Assche
957b51a997
scstadmin, FC: By default, do not issue LIP. Add option -lip.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:35:34 +00:00
Bart Van Assche
749c8a3e75
scstadmin: Fix -attributes behavior for multiple attributes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6734 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:34:39 +00:00
Bart Van Assche
094a6be70d
scstadmin: Add a seventh regression test
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6733 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:33:17 +00:00
Bart Van Assche
9484c62c41
scstadmin.sysfs/Makefile: Add and comment out TEST_VERBOSE=1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 18:31:49 +00:00
Bart Van Assche
e4a852e599
scstadmin regression tests: Rename two files
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 17:39:55 +00:00
Bart Van Assche
2b4abe603a
scst/include/backport.h: Add kfree_rcu() definition for kernels < 3.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6730 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 05:52:45 +00:00
Vladislav Bolkhovitin
1099848397
scst: small addition to r6724
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6728 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 01:51:31 +00:00
Bart Van Assche
53a9829a45
ib_srpt: Fix a runtime warning
...
Avoid that the following warning is reported:
WARNING: CPU: 7 PID: 32692 at kernel/sched/core.c:7533 __might_sleep+0x82/0x90()
do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffffa08f5f0b>]
srpt_compl_thread+0xab/0x1c0 [ib_srpt]
Call Trace:
[<ffffffff81251afb>] dump_stack+0x4f/0x74
[<ffffffff810574cb>] warn_slowpath_common+0x8b/0xd0
[<ffffffff810575b1>] warn_slowpath_fmt+0x41/0x70
[<ffffffff810804c2>] __might_sleep+0x82/0x90
[<ffffffff81113f74>] mempool_alloc+0x94/0x180
[<ffffffffa04ff80c>] scst_alloc_mgmt_cmd+0x4c/0x120 [scst]
[<ffffffffa04dc1e4>] scst_pre_rx_mgmt_cmd+0x84/0x1e0 [scst]
[<ffffffffa04dc6ea>] scst_rx_mgmt_fn+0x8a/0x3e0 [scst]
[<ffffffffa08f53fe>] scst_rx_mgmt_fn_lun+0x6e/0x90 [ib_srpt]
[<ffffffffa08f55e1>] srpt_handle_tsk_mgmt+0x1c1/0x2f0 [ib_srpt]
[<ffffffffa08f58d0>] srpt_handle_new_iu+0x1c0/0x230 [ib_srpt]
[<ffffffffa08f5cd9>] srpt_process_rcv_completion+0x89/0xd0 [ib_srpt]
[<ffffffffa08f5d74>] srpt_process_one_compl+0x54/0x70 [ib_srpt]
[<ffffffffa08f5df9>] srpt_poll+0x69/0x90 [ib_srpt]
[<ffffffffa08f5e3e>] srpt_process_completion+0x1e/0x40 [ib_srpt]
[<ffffffffa08f5f3c>] srpt_compl_thread+0xdc/0x1c0 [ib_srpt]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6727 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 01:40:41 +00:00
Bart Van Assche
8aae2413b3
ib_srpt: Convert srpt_ch_list_empty() to RCU
...
This patch avoids that the following warning is reported when
unloading the ib_srpt kernel module:
WARNING: CPU: 9 PID: 33739 at kernel/sched/core.c:7533 __might_sleep+0x82/0x90()
do not call blocking ops when !TASK_RUNNING; state=2 set at [<ffffffff81098b73>] prepare_to_wait_event+0x63/0x110
Call Trace:
[<ffffffff81251afb>] dump_stack+0x4f/0x74
[<ffffffff810574cb>] warn_slowpath_common+0x8b/0xd0
[<ffffffff810575b1>] warn_slowpath_fmt+0x41/0x70
[<ffffffff810804c2>] __might_sleep+0x82/0x90
[<ffffffff815186e3>] mutex_lock_nested+0x33/0x380
[<ffffffffa08eeb7b>] srpt_ch_list_empty+0x2b/0x80 [ib_srpt]
[<ffffffffa08f000c>] srpt_release_sport+0xcc/0x2a0 [ib_srpt]
[<ffffffffa08f0215>] srpt_release+0x35/0x80 [ib_srpt]
[<ffffffffa04d8650>] scst_unregister_target+0x70/0x380 [scst]
[<ffffffffa08f26c1>] srpt_remove_one+0xb1/0x150 [ib_srpt]
[<ffffffffa0145a35>] ib_unregister_client+0xe5/0x190 [ib_core]
[<ffffffffa08f6485>] srpt_cleanup_module+0x21/0x2f [ib_srpt]
[<ffffffff810dfbfb>] SyS_delete_module+0x17b/0x1c0
[<ffffffff8151b517>] entry_SYSCALL_64_fastpath+0x12/0x6f
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6726 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 01:39:46 +00:00
Bart Van Assche
d13b730d6d
ib_srpt: Improve robustness of "make clean"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6725 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 01:38:46 +00:00
Bart Van Assche
08b774f643
scst_main: Fix wait_event() call in scst_unregister_target()
...
Avoid that the following kernel warning gets triggered:
WARNING: CPU: 3 PID: 12967 at kernel/sched/core.c:7287 __might_sleep+0x7a/0x90()
do not call blocking ops when !TASK_RUNNING; state=2 set at [<ffffffff81097cfe>] prepare_to_wait_event+0x5e/0xf0
CPU: 3 PID: 12967 Comm: scst_uid Tainted: G O 4.0.0-debug+ #1
Call Trace:
[<ffffffff815f11cb>] dump_stack+0x4c/0x65
[<ffffffff81053930>] warn_slowpath_common+0x80/0xc0
[<ffffffff810539b1>] warn_slowpath_fmt+0x41/0x50
[<ffffffff81079c1a>] __might_sleep+0x7a/0x90
[<ffffffff815f5d4a>] mutex_lock_nested+0x2a/0x4d0
[<ffffffffa035330a>] test_sess_list+0x1a/0x40 [scst]
[<ffffffffa0355b1e>] scst_unregister_target+0x26e/0x380 [scst]
[<ffffffffa01f6c86>] __scst_local_remove_target+0xc6/0x160 [scst_local]
[<ffffffffa01f6ddc>] scst_local_sysfs_del_target+0xbc/0x1b0 [scst_local]
[<ffffffffa038b315>] scst_process_tgtt_mgmt_store+0x205/0x300 [scst]
[<ffffffffa038b424>] scst_tgtt_mgmt_store_work_fn+0x14/0x20 [scst]
[<ffffffffa038cc1d>] scst_process_sysfs_works+0xbd/0x1f0 [scst]
[<ffffffffa038ce0d>] sysfs_work_thread_fn+0xbd/0x310 [scst]
[<ffffffff81073d33>] kthread+0xf3/0x110
[<ffffffff815faf18>] ret_from_fork+0x58/0x90
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6724 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-09 19:18:01 +00:00
Vladislav Bolkhovitin
82d831be80
scst_event: fix forgotten corner case module_put
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6723 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-08 04:16:01 +00:00
Vladislav Bolkhovitin
a195aee513
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6721 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-08 03:51:01 +00:00
Vladislav Bolkhovitin
0b8cb936d3
docs: fix (extra)clean brocken by r6716
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-08 03:44:51 +00:00
Bart Van Assche
d31e5bd373
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6718 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-04 00:31:40 +00:00
Bart Van Assche
ad812fedb6
scstadmin: Ensure that -no_lip takes effect for all SCST configuration commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-02 22:59:33 +00:00
Bart Van Assche
edfd19ee7e
scst: Rename the PR-sync document to avoid filenames with spaces in the SCST tree
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-02 16:57:45 +00:00
Bart Van Assche
3136f99a86
scst-const.h: Follow-up for r6714
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6715 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-28 04:39:57 +00:00
Bart Van Assche
c86027404a
usr/fileio: Build fix for Ubuntu 15.10
...
Ubuntu 15.10 includes Linux kernel 4.2 but does not define
SERVICE_ACTION_IN_16 in the <scsi/scsi.h> glibc header. Hence
provide a definition in scst_const.h.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-25 17:28:02 +00:00
Bart Van Assche
3353e47e28
scstadmin: Make regression test 6 pass
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-23 23:05:24 +00:00
Bart Van Assche
949aa31053
scstadmin: Improve copy manager support further
...
Also restore pass-through LUNs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-23 23:04:57 +00:00
Bart Van Assche
3047ca75fd
mpt: Include header file mptbase.h without path
...
Allow include path modification with LSI_INC_DIR.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6711 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-22 20:03:29 +00:00
Bart Van Assche
d6b116c46d
qla2x00t: Fix a few typos
...
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6710 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-22 19:49:18 +00:00
Bart Van Assche
0f3bcea86d
scstadmin: Improve copy manager support
...
Add support for saving and restoring copy manager attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-21 00:19:04 +00:00