Bart Van Assche
3b040e8feb
scst: Merge r6875 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6881 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-26 14:33:17 +00:00
Bart Van Assche
4e003b19df
isert: Merge r6875:6879 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-26 14:30:46 +00:00
Vladislav Bolkhovitin
218fb1ac6a
Blocked revisions 6778,6784-6787,6789-6795,6797-6798,6802-6805,6807-6814,6817,6822-6823,6826,6830-6834,6836-6852,6855-6857,6859,6862,6864 via svnmerge
...
........
r6778 | bvassche | 2016-01-15 18:42:17 -0800 (Fri, 15 Jan 2016) | 1 line
nightly build: Update kernel versions
........
r6784 | bvassche | 2016-01-20 08:40:19 -0800 (Wed, 20 Jan 2016) | 1 line
nightly build: Update kernel versions
........
r6785 | vlnb | 2016-01-21 19:08:44 -0800 (Thu, 21 Jan 2016) | 3 lines
docs: version updated
........
r6786 | vlnb | 2016-01-21 19:54:38 -0800 (Thu, 21 Jan 2016) | 3 lines
3.1 release web updates
........
r6787 | vlnb | 2016-01-21 20:04:43 -0800 (Thu, 21 Jan 2016) | 3 lines
Copyrights updated
........
r6789 | bvassche | 2016-01-27 17:21:59 -0800 (Wed, 27 Jan 2016) | 1 line
nightly build: Update kernel versions
........
r6790 | vlnb | 2016-01-27 20:07:06 -0800 (Wed, 27 Jan 2016) | 3 lines
Web updates
........
r6791 | bvassche | 2016-01-27 20:11:54 -0800 (Wed, 27 Jan 2016) | 1 line
SVN_TAGS: Add 3.1.0 version information
........
r6792 | bvassche | 2016-02-02 08:33:03 -0800 (Tue, 02 Feb 2016) | 1 line
nightly build: Update kernel versions
........
r6793 | vlnb | 2016-02-02 18:58:19 -0800 (Tue, 02 Feb 2016) | 3 lines
Web updates
........
r6794 | bvassche | 2016-02-06 19:58:25 -0800 (Sat, 06 Feb 2016) | 1 line
nightly build: Update kernel versions
........
r6795 | bvassche | 2016-02-16 11:19:29 -0800 (Tue, 16 Feb 2016) | 1 line
scst_debug.h: Kernel v4.5 build fix
........
r6797 | bvassche | 2016-02-16 11:35:02 -0800 (Tue, 16 Feb 2016) | 1 line
ib_srpt: Port to Linux kernel v4.5
........
r6798 | bvassche | 2016-02-16 11:35:52 -0800 (Tue, 16 Feb 2016) | 1 line
isert-scst: Port to Linux kernel v4.5
........
r6802 | vlnb | 2016-02-16 19:08:01 -0800 (Tue, 16 Feb 2016) | 5 lines
[ALUA][EXPERIMENTAL]: review and cleanup according to SPC-4 allowed and not allowed commands in various ALUA states
Also changes in INQUIRY the peripheral qualifier to 001b for UNAVAILABLE and OFFLINE states as required by SPC-4
........
r6803 | vlnb | 2016-02-16 19:17:08 -0800 (Tue, 16 Feb 2016) | 5 lines
web: Update references to STGT project
Reported-by: Xose Vazquez Perez <xose.vazquez@gmail.com >
........
r6804 | vlnb | 2016-02-16 19:30:17 -0800 (Tue, 16 Feb 2016) | 3 lines
scst_vdisk: clarify vdisk_no_fd_allowed_commands() comment
........
r6805 | vlnb | 2016-02-17 17:27:39 -0800 (Wed, 17 Feb 2016) | 3 lines
scst: add forwarding pass-through mode
........
r6807 | vlnb | 2016-02-17 19:15:53 -0800 (Wed, 17 Feb 2016) | 3 lines
web: unofficial git mirror added
........
r6808 | vlnb | 2016-02-17 19:20:44 -0800 (Wed, 17 Feb 2016) | 3 lines
ibmvstgt: http://stgt.berlios.de -> http://stgt.sourceforge.net cleanup
........
r6809 | vlnb | 2016-02-17 19:29:33 -0800 (Wed, 17 Feb 2016) | 5 lines
web: Gentoo HOWTO update
Suggested by calypso2k@poczta.fm
........
r6810 | bvassche | 2016-02-18 14:18:08 -0800 (Thu, 18 Feb 2016) | 2 lines
scst_vdisk: Rate-limit block I/O error messages
........
r6811 | vlnb | 2016-02-18 19:12:53 -0800 (Thu, 18 Feb 2016) | 3 lines
iscsi-scst: clarify comment
........
r6812 | vlnb | 2016-02-18 19:35:26 -0800 (Thu, 18 Feb 2016) | 5 lines
scst: fix potential buffer overflow + cleanup
Reported-by: Bart Van Assche <bart.vanassche@sandisk.com >
........
r6813 | bvassche | 2016-02-21 20:13:53 -0800 (Sun, 21 Feb 2016) | 7 lines
scst_tg: Restore Linux and ESXi interoperability
Linux and ESXi expect that target ports in one of the ALUA states
standby or unavailable are able to process commands like TEST UNIT
READY, READ CAPACITY, RESERVE and RELEASE. This patch partially
reverts r6802.
........
r6814 | vlnb | 2016-02-22 20:34:24 -0800 (Mon, 22 Feb 2016) | 3 lines
Revert r6813 in (experimental) attempt to stay SPC complying
........
r6817 | vlnb | 2016-02-23 17:47:02 -0800 (Tue, 23 Feb 2016) | 3 lines
scst: Follow up for r6804
........
r6822 | bvassche | 2016-03-02 11:56:41 -0800 (Wed, 02 Mar 2016) | 1 line
ib_srpt: Reduce command processing latency
........
r6823 | vlnb | 2016-03-03 19:49:23 -0800 (Thu, 03 Mar 2016) | 6 lines
scst: make NULLIO use per-initiator threads
To increase peformance by decreasing locks contention with multiple
CPU cores between multiple threads in the global pool.
........
r6826 | vlnb | 2016-03-09 21:25:55 -0800 (Wed, 09 Mar 2016) | 3 lines
scst: some more debug tracing on the pass-through path
........
r6830 | bvassche | 2016-03-10 20:06:34 -0800 (Thu, 10 Mar 2016) | 1 line
scripts/generate-patched-kernel: Fix list-source-files path
........
r6831 | bvassche | 2016-03-18 10:00:39 -0700 (Fri, 18 Mar 2016) | 4 lines
ib_srpt: Revert r6822
Revision 6822 triggers a race condition, hence revert it.
........
r6832 | bvassche | 2016-03-18 16:09:39 -0700 (Fri, 18 Mar 2016) | 5 lines
scst_sysfs: Separate LUN addition from LUN replacement code
This patch does not change any functionality but makes
__scst_process_luns_mgmt_store() easier to read.
........
r6833 | bvassche | 2016-03-18 16:10:10 -0700 (Fri, 18 Mar 2016) | 4 lines
scst_lib: Introduce __scst_acg_del_lun()
This patch does not change any functionality.
........
r6834 | bvassche | 2016-03-18 16:10:39 -0700 (Fri, 18 Mar 2016) | 7 lines
scst: Move LUN replacement code to scst_lib
Move the code for LUN replacement from scst_sysfs.c into scst_lib.c.
This patch reduces code duplication by calling __scst_acg_del_lun()
from inside the LUN reassignment code. This patch does not change
any functionality.
........
r6836 | bvassche | 2016-03-24 10:13:06 -0700 (Thu, 24 Mar 2016) | 1 line
scst_vdisk: Remove superfluous semicolons
........
r6837 | bvassche | 2016-03-24 10:13:46 -0700 (Thu, 24 Mar 2016) | 4 lines
scst_vdisk: Introduce vdisk_on_free_cmd_params()
This patch does not change any functionality.
........
r6838 | bvassche | 2016-03-24 10:14:29 -0700 (Thu, 24 Mar 2016) | 10 lines
scst_vdisk: Fix handling of vdisk_cmd_params::iv
Avoid that the iv pointer can become a dangling pointer for
vdisk_fileio devices. Freeing iv without resetting iv_count
makes it namely possible that iv will be used after the memory
that pointer points at has been freed.
For vdisk_blockio devices, call vdisk_on_free_cmd_params() to
free the iv pointer.
........
r6839 | bvassche | 2016-03-24 10:14:49 -0700 (Thu, 24 Mar 2016) | 2 lines
ib_srpt: Fix a debug message
........
r6840 | bvassche | 2016-03-24 10:15:23 -0700 (Thu, 24 Mar 2016) | 5 lines
ib_srpt: Reduce CPU load caused by stopping a large number of sessions
Avoid that stopping a large number of SRPT sessions causes a high
context switch frequency and hence a high CPU load.
........
r6841 | bvassche | 2016-03-27 08:50:21 -0700 (Sun, 27 Mar 2016) | 1 line
scst: Fix checkpatch complaints about using spaces for indentation instead of tabs
........
r6842 | bvassche | 2016-03-27 08:52:41 -0700 (Sun, 27 Mar 2016) | 1 line
ib_srpt: Fix checkpatch complaints about missing spaces
........
r6843 | bvassche | 2016-03-27 08:55:41 -0700 (Sun, 27 Mar 2016) | 1 line
scst_mem: Remove a superfluous cast
........
r6844 | bvassche | 2016-03-27 08:57:03 -0700 (Sun, 27 Mar 2016) | 1 line
fcst: Remove a CVS keyword marker
........
r6845 | bvassche | 2016-03-27 08:57:41 -0700 (Sun, 27 Mar 2016) | 1 line
fcst: Change "signed" into "signed int"
........
r6846 | bvassche | 2016-03-27 09:10:26 -0700 (Sun, 27 Mar 2016) | 1 line
iscsi-scst: Fix checkpatch complaints about whitespace
........
r6847 | bvassche | 2016-03-27 09:10:45 -0700 (Sun, 27 Mar 2016) | 1 line
iscsi-scstd: Fix checkpatch complaints about whitespace
........
r6848 | bvassche | 2016-03-27 09:16:06 -0700 (Sun, 27 Mar 2016) | 1 line
iscsi-scstd: Fix more checkpatch complaints about whitespace
........
r6849 | bvassche | 2016-03-27 09:24:59 -0700 (Sun, 27 Mar 2016) | 5 lines
iscsi-scstd: Insert a blank line after declarations
Additionally, surround complex values with parentheses, declare static
char arrays const and change C++ comments into C comments.
........
r6850 | bvassche | 2016-03-27 09:56:50 -0700 (Sun, 27 Mar 2016) | 1 line
scst: Address more checkpatch warnings
........
r6851 | bvassche | 2016-03-27 09:57:04 -0700 (Sun, 27 Mar 2016) | 1 line
scst_local: Address checkpatch warnings
........
r6852 | bvassche | 2016-03-27 10:09:46 -0700 (Sun, 27 Mar 2016) | 1 line
scst: Move more backports from scst_debug.h into backport.h
........
r6855 | bvassche | 2016-04-08 20:04:09 -0700 (Fri, 08 Apr 2016) | 5 lines
scst.spec.in: Leave out 'r' from revision number
RPM version comparison works correctly with numbers but not if the
revision starts with 'r'. Hence leave out the 'r'.
........
r6856 | bvassche | 2016-04-08 20:05:39 -0700 (Fri, 08 Apr 2016) | 1 line
scst.spec.in: Enable .debug generation for .ko files
........
r6857 | bvassche | 2016-04-08 20:11:52 -0700 (Fri, 08 Apr 2016) | 1 line
scstadmin: Leave out "r" from RPM revision number
........
r6859 | bvassche | 2016-04-12 06:47:58 -0700 (Tue, 12 Apr 2016) | 1 line
scst.spec.in: Disable executable flag again for kernel modules
........
r6862 | vlnb | 2016-04-19 20:44:21 -0700 (Tue, 19 Apr 2016) | 3 lines
Cleanup
........
r6864 | vlnb | 2016-04-19 21:21:59 -0700 (Tue, 19 Apr 2016) | 3 lines
scst: cleanups and clarifications
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6872 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-21 01:37:01 +00:00
Vladislav Bolkhovitin
373c99715b
Merged revisions 6860-6861 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6860 | vlnb | 2016-04-19 19:48:28 -0700 (Tue, 19 Apr 2016) | 3 lines
Cleanup
........
r6861 | vlnb | 2016-04-19 20:17:16 -0700 (Tue, 19 Apr 2016) | 7 lines
iscsi-scst: fix 2 minor main Makefile issues
1. Fix build of progs and mods targets, if iscsi_scst_itf_ver.h does not exist
2. Fix small race for parallel build of "all" target, when iscsi_scst_itf_ver.h
not yet built, when progs or mods target need it
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6871 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-21 01:28:08 +00:00
Vladislav Bolkhovitin
8e9d7fb03c
Merged revisions 6853-6854 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6853 | bvassche | 2016-03-27 10:26:50 -0700 (Sun, 27 Mar 2016) | 1 line
scst: Fix RHEL 5 build
........
r6854 | bvassche | 2016-03-27 15:44:44 -0700 (Sun, 27 Mar 2016) | 4 lines
scst_sysfs: Report LUN replacement failure correctly
This is a follow-up for r6834.
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6870 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-21 01:12:59 +00:00
Vladislav Bolkhovitin
660fd30d85
Merged revisions 6821,6824-6825,6827-6828,6835,6858,6863,6865-6867 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6821 | vlnb | 2016-03-01 20:13:42 -0800 (Tue, 01 Mar 2016) | 8 lines
iscsi-scst: fix possible recursive locking
cmnd_done() called from cmnd_put() can take cmd_list_lock, so it must
not be called under it.
Reported and tested by David Chen <david.chen@osnexus.com >
........
r6824 | bvassche | 2016-03-08 10:24:23 -0800 (Tue, 08 Mar 2016) | 8 lines
scst_vdisk: Fix kfree() argument in vdev_size_store() error path
The wrong variable is freed in the vdev_size_store() error path.
Pass 'new_size' instead of 'buf' to kfree().
Signed-off-by: Sebastian Parschauer <sebastian.riemer@profitbricks.com >
[ bvanassche: edited patch description ]
........
r6825 | vlnb | 2016-03-09 21:00:01 -0800 (Wed, 09 Mar 2016) | 6 lines
qla2x00t: decrease severity of 2 log messages
Those messages don't necessare mean any error. Some harmless race
conditions between the target driver and FW can lead to them as well.
........
r6827 | vlnb | 2016-03-10 19:10:04 -0800 (Thu, 10 Mar 2016) | 8 lines
This limits target group state changes to only apply to targets local to the host.
This prevents the devices being blocked offline by changes to non-local targets.
Signed-off-by: Adrian Saul <adrian.saul@tpgtelecom.com.au >
with some minor corrections
........
r6828 | vlnb | 2016-03-10 19:27:53 -0800 (Thu, 10 Mar 2016) | 3 lines
scst_vdisk: warning clarification
........
r6835 | bvassche | 2016-03-23 21:08:12 -0700 (Wed, 23 Mar 2016) | 2 lines
scst: Port to Linux kernel v4.6
........
r6858 | bvassche | 2016-04-11 12:59:59 -0700 (Mon, 11 Apr 2016) | 5 lines
scst: Kernel v4.6-rc3 build fix
See also patch "mm: drop PAGE_CACHE_* and page_cache_{get,release}
definition".
........
r6863 | vlnb | 2016-04-19 21:00:00 -0700 (Tue, 19 Apr 2016) | 3 lines
scst_user: improve backward compatibility with handlers relying on obsolete SCST_USER_UNREGISTER_DEVICE call
........
r6865 | vlnb | 2016-04-19 21:29:34 -0700 (Tue, 19 Apr 2016) | 3 lines
scst: decrease severity of "Copy Manager already registered" message, because it is harmless
........
r6866 | vlnb | 2016-04-19 21:34:43 -0700 (Tue, 19 Apr 2016) | 3 lines
Follow-up for the previous commit
........
r6867 | vlnb | 2016-04-19 21:52:58 -0700 (Tue, 19 Apr 2016) | 5 lines
scstadmin: prevent saving statistical dif_checks_failed attribute
From Marc Smith <marc.smith@mcc.edu >
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6869 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-21 01:00:41 +00:00
Vladislav Bolkhovitin
7e8a9eb603
Restore svnmerge-integrated property
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6868 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-04-21 00:13:25 +00:00
Vladislav Bolkhovitin
c41a878488
Merged revisions 6777,6801,6806,6815 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-03-11 03:35:11 +00:00
Bart Van Assche
45fd519e20
scst: Fix scst_resume_activity() (merge r6818 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6819 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-03-01 17:40:21 +00:00
Vladislav Bolkhovitin
1d96923938
Merged revisions 6777,6801,6806,6815 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-24 01:38:16 +00:00
Bart Van Assche
f6388a7d03
ib_srpt: Port to Linux kernel v4.5 (merge r6797 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6800 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:38:39 +00:00
Bart Van Assche
04544e0bd9
isert-scst: Port to Linux kernel v4.5 (merge r6798 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6799 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:37:58 +00:00
Bart Van Assche
c9c89dc633
scst_debug.h: Kernel v4.5 build fix (merge r6795 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6796 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-02-16 19:20:18 +00:00
Vladislav Bolkhovitin
3f7401425c
Version changed to 3.1.1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6788 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:20:31 +00:00
Bart Van Assche
8c3b87ea7f
Merged revisions 6782 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6782 | bvassche | 2016-01-19 16:35:29 -0800 (Tue, 19 Jan 2016) | 1 line
user space code: Fix the code for generating a release archive
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6783 d57e44dd-8a1f-0410-8b47-8ef2f437770f
v3.1
2016-01-20 00:38:51 +00:00
Bart Van Assche
776c221d2e
Merged revisions 6779-6780 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6779 | bvassche | 2016-01-19 10:08:04 -0800 (Tue, 19 Jan 2016) | 1 line
nightly build: Add kernel 4.4 support files
........
r6780 | bvassche | 2016-01-19 10:08:36 -0800 (Tue, 19 Jan 2016) | 1 line
ib_srpt: Fix in-tree build for kernel v4.4
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6781 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-19 21:02:08 +00:00
Bart Van Assche
ade8c1ba37
Merged revisions 6775 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6775 | bvassche | 2015-12-20 13:46:16 +0100 (Sun, 20 Dec 2015) | 1 line
scst: SLES 12 build fix
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6776 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-20 18:18:10 +00:00
Bart Van Assche
d0ce0fc67f
Merged revisions 6773 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6773 | bvassche | 2015-12-18 13:39:16 +0100 (Fri, 18 Dec 2015) | 1 line
scst: Fix a procfs compiler warning
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 12:41:21 +00:00
Bart Van Assche
2f230a6fdd
Merged revisions 6771 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6771 | bvassche | 2015-12-18 13:11:18 +0100 (Fri, 18 Dec 2015) | 1 line
scst: Fix a RHEL 6 compiler warning
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 12:21:08 +00:00
Bart Van Assche
876e5a4195
Merged revisions 6768-6769 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6768 | bvassche | 2015-12-18 12:05:20 +0100 (Fri, 18 Dec 2015) | 1 line
scstadmin: Suppress warnings about the use of an undefined value in numeric ne (!=)
........
r6769 | bvassche | 2015-12-18 12:39:19 +0100 (Fri, 18 Dec 2015) | 1 line
scst regression test 7: Fix $redirect_file initialization
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6770 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 11:45:33 +00:00
Vladislav Bolkhovitin
ec034324f4
Merged revisions 6723,6725-6727,6730-6743,6763 via svnmerge from
...
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6765 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 04:36:29 +00:00
Vladislav Bolkhovitin
76132b00d3
Revert r6756
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-18 04:20:14 +00:00
Bart Van Assche
a971adf105
scst_event: Fix an error path (merge r6723 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6762 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:58:40 +00:00
Bart Van Assche
fa1d634262
iscsi-scst: Unbreak nightly build (merge r6740 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6761 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:54:50 +00:00
Bart Van Assche
564015a95e
iscsi-scst: RHEL 7.2 build fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:51:10 +00:00
Bart Van Assche
6a7fdce11f
ib_srpt: Fix a runtime warning (merge r6727 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6759 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:50:09 +00:00
Bart Van Assche
788c794c08
ib_srpt: Convert srpt_ch_list_empty() to RCU (merge r6726 + r6730 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6758 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:48:46 +00:00
Bart Van Assche
a3319cf564
ib_srpt: Improve robustness of "make clean" (merge r6725 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6757 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:47:16 +00:00
Bart Van Assche
71ed62e8ad
svnmerge-integrated: Remove user name
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:38:49 +00:00
Bart Van Assche
fd35404973
svnmerge-integrated: Remove user name
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6755 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:31:52 +00:00
Bart Van Assche
7faa7e815a
scstadmin: Merge trunk r6752, part 2
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6754 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:19:58 +00:00
Bart Van Assche
7877b4b452
scstadmin: Merge trunk r6752
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6753 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:18:49 +00:00
Bart Van Assche
7b8e9e6c6d
scst: Fix write-protected response (merge r6743 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:11:25 +00:00
Bart Van Assche
35e6853f73
scst: Fix two section mismatches (merge r6741 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6751 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:10:31 +00:00
Bart Van Assche
d2e17ff514
iscsi-scst, procfs: Fix a compiler warning (merge r6742 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6750 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 15:09:48 +00:00
Bart Van Assche
7965ed9b7e
Change version number into 3.1.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6749 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-17 14:48:48 +00:00
Vladislav Bolkhovitin
ffdfa708e6
Merged revisions 6724,6728 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r6724 | bvassche | 2015-12-09 11:18:01 -0800 (Wed, 09 Dec 2015) | 24 lines
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
........
r6728 | vlnb | 2015-12-10 17:51:31 -0800 (Thu, 10 Dec 2015) | 3 lines
scst: small addition to r6724
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6729 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-11 01:52:56 +00:00
Vladislav Bolkhovitin
a85225d5a3
Merged revisions 6703-6718,6720-6721 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r6703 | bvassche | 2015-11-19 08:53:18 -0800 (Thu, 19 Nov 2015) | 5 lines
scst_sysfs: Introduce scst_parse_add_repl_param()
This makes the __scst_process_luns_mgmt_store() source code slightly
easier to read.
........
r6704 | bvassche | 2015-11-19 09:30:24 -0800 (Thu, 19 Nov 2015) | 1 line
scripts/run-regression-tests: Also test no-DLM build
........
r6705 | bvassche | 2015-11-19 09:31:02 -0800 (Thu, 19 Nov 2015) | 1 line
scst: Fix procfs build
........
r6706 | bvassche | 2015-11-19 09:48:18 -0800 (Thu, 19 Nov 2015) | 1 line
scst: More procfs build fixes. See also r6694.
........
r6707 | bvassche | 2015-11-20 13:47:57 -0800 (Fri, 20 Nov 2015) | 5 lines
scst_local: Linux kernel v4.4 build fix
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
[ bvanassche: Merged the two #if-statements into a single #if-statement ]
........
r6708 | bvassche | 2015-11-20 15:23:48 -0800 (Fri, 20 Nov 2015) | 2 lines
/etc/init.d/scst: Suppress rmmod error messages
........
r6709 | bvassche | 2015-11-20 16:19:04 -0800 (Fri, 20 Nov 2015) | 5 lines
scstadmin: Improve copy manager support
Add support for saving and restoring copy manager attributes.
........
r6710 | bvassche | 2015-11-22 11:49:18 -0800 (Sun, 22 Nov 2015) | 4 lines
qla2x00t: Fix a few typos
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
........
r6711 | bvassche | 2015-11-22 12:03:29 -0800 (Sun, 22 Nov 2015) | 7 lines
mpt: Include header file mptbase.h without path
Allow include path modification with LSI_INC_DIR.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
........
r6712 | bvassche | 2015-11-23 15:04:57 -0800 (Mon, 23 Nov 2015) | 4 lines
scstadmin: Improve copy manager support further
Also restore pass-through LUNs
........
r6713 | bvassche | 2015-11-23 15:05:24 -0800 (Mon, 23 Nov 2015) | 2 lines
scstadmin: Make regression test 6 pass
........
r6714 | bvassche | 2015-11-25 09:28:02 -0800 (Wed, 25 Nov 2015) | 6 lines
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.
........
r6715 | bvassche | 2015-11-27 20:39:57 -0800 (Fri, 27 Nov 2015) | 1 line
scst-const.h: Follow-up for r6714
........
r6716 | bvassche | 2015-12-02 08:57:45 -0800 (Wed, 02 Dec 2015) | 1 line
scst: Rename the PR-sync document to avoid filenames with spaces in the SCST tree
........
r6717 | bvassche | 2015-12-02 14:59:33 -0800 (Wed, 02 Dec 2015) | 1 line
scstadmin: Ensure that -no_lip takes effect for all SCST configuration commands
........
r6718 | bvassche | 2015-12-03 16:31:40 -0800 (Thu, 03 Dec 2015) | 1 line
nightly build: Update kernel versions
........
r6720 | vlnb | 2015-12-07 19:44:51 -0800 (Mon, 07 Dec 2015) | 3 lines
docs: fix (extra)clean brocken by r6716
........
r6721 | vlnb | 2015-12-07 19:51:01 -0800 (Mon, 07 Dec 2015) | 3 lines
Cleanup
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-08 03:58:10 +00:00
Vladislav Bolkhovitin
9174680ae4
Fix svnmerge URL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-12-08 03:37:59 +00:00
Vladislav Bolkhovitin
e35e79706e
Merged revisions 6693-6701 via svnmerge from
...
svn://svn.code.sf.net/p/scst/svn/trunk
........
r6693 | vlnb | 2015-11-17 19:59:30 -0800 (Tue, 17 Nov 2015) | 5 lines
scst: Add user space control for suspend/resume activities
Useful to speed up mass management
........
r6694 | vlnb | 2015-11-17 20:09:50 -0800 (Tue, 17 Nov 2015) | 6 lines
scst: Rework Copy Manager's sysfs interface
The old version had management incompatible with scstadmin and had
issues with LUNs management.
........
r6695 | bvassche | 2015-11-18 11:36:01 -0800 (Wed, 18 Nov 2015) | 8 lines
scst: Make it easier to build without DLM support
With this change all that is required to build without DLM support
is to add the following in scst_priv.h:
#undef CONFIG_DLM
#undef CONFIG_DLM_MODULE
........
r6696 | bvassche | 2015-11-18 14:10:03 -0800 (Wed, 18 Nov 2015) | 2 lines
scst_pres: Suppress a compiler warning when building against a kernel with no DLM support
........
r6697 | bvassche | 2015-11-18 14:10:33 -0800 (Wed, 18 Nov 2015) | 1 line
scst_vdisk: Kernel v4.4 build fix
........
r6698 | bvassche | 2015-11-18 14:10:54 -0800 (Wed, 18 Nov 2015) | 1 line
ib_srpt: Kernel v4.4 build fix
........
r6699 | bvassche | 2015-11-18 14:11:37 -0800 (Wed, 18 Nov 2015) | 1 line
isert-scst: Port to Linux kernel v4.4
........
r6700 | bvassche | 2015-11-18 14:44:29 -0800 (Wed, 18 Nov 2015) | 1 line
scst: Do not build cluster PR support if CONFIG_SCST_NO_DLM has been set
........
r6701 | vlnb | 2015-11-18 21:20:43 -0800 (Wed, 18 Nov 2015) | 3 lines
scst: fix explicit ALUA disabled DIF type 2 handling
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-19 05:21:59 +00:00
Vladislav Bolkhovitin
7a043f2618
Merged revisions 6682-6691 via svnmerge from
...
svn://svn.code.sf.net/p/scst/svn/trunk
........
r6682 | bvassche | 2015-11-12 09:43:26 -0800 (Thu, 12 Nov 2015) | 1 line
scst_copy_mgr: Fix indentation
........
r6683 | bvassche | 2015-11-12 10:26:26 -0800 (Thu, 12 Nov 2015) | 8 lines
qla2x00t: Suppress a Coverity complaint about a potential buffer overflow
Coverity reported the following:
Copy into fixed size buffer (STRING_OVERFLOW)
fixed_size_dest: You might overrun the 17 byte fixed-size string
ha->model_number by copying def without checking the length.
........
r6684 | bvassche | 2015-11-12 10:30:15 -0800 (Thu, 12 Nov 2015) | 1 line
qla2x00t: Do not compare an array pointer with NULL
........
r6685 | bvassche | 2015-11-12 10:30:42 -0800 (Thu, 12 Nov 2015) | 1 line
qla2x00t: Use strlcpy() instead of strcpy()
........
r6686 | bvassche | 2015-11-12 14:17:59 -0800 (Thu, 12 Nov 2015) | 4 lines
scst_lib: Avoid using 64-bit divisions
Reported-by: Sebastian Herbszt <herbszt@gmx.de >
........
r6687 | vlnb | 2015-11-12 15:33:45 -0800 (Thu, 12 Nov 2015) | 3 lines
Update the root README regarding QLogic target driver
........
r6688 | bvassche | 2015-11-13 08:26:09 -0800 (Fri, 13 Nov 2015) | 8 lines
scst: Fix kernel 2.6.36 build
Avoid that compilation fails with the following error message:
include/linux/slub_def.h:246: error: conflicting types for ‘kmalloc’
include/scst/backport.h:458: error: implicit declaration of function ‘kmalloc’
........
r6689 | bvassche | 2015-11-13 11:07:10 -0800 (Fri, 13 Nov 2015) | 7 lines
scstadmin: Do not try to clear copy manager assignments
This patch avoids that the following error message is displayed on the
console while "/etc/init.d/scst start" is executed:
scst: scst_cm_mgmt:3556:***ERROR***: Device copy_manager_tgt not found
........
r6690 | bvassche | 2015-11-13 13:07:50 -0800 (Fri, 13 Nov 2015) | 1 line
scstadmin: Leave out the copy manager from the driver list
........
r6691 | bvassche | 2015-11-13 17:07:27 -0800 (Fri, 13 Nov 2015) | 4 lines
scstadmin: Pass $PREFIX to Makefile.PL
Signed-off-by: Alexey Mochkin <alukardd@alukardd.org >
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-14 02:32:38 +00:00
Vladislav Bolkhovitin
408ae374ba
Merged revisions 6596-6674,6679 via svnmerge from
...
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 03:57:17 +00:00
Vladislav Bolkhovitin
ced1efb515
Follow up for r6678
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6680 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 03:45:40 +00:00
Vladislav Bolkhovitin
47aeb04f45
Follow up for the previous commit
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6678 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 03:40:43 +00:00
Vladislav Bolkhovitin
bf502ee8c3
Follow up for r6675
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6677 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 03:36:37 +00:00
Vladislav Bolkhovitin
430acec9e0
Merged revisions 6595 via svnmerge from
...
svn://svn.code.sf.net/p/scst/svn/trunk
........
r6595 | bvassche | 2015-11-06 09:36:46 -0800 (Fri, 06 Nov 2015) | 2 lines
scst_dlm: Build fix for older kernels (2.6.32)
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 02:54:37 +00:00
Vladislav Bolkhovitin
87b6729554
Initialized merge tracking via "svnmerge" with revisions "6591" from
...
svn://svn.code.sf.net/p/scst/svn/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-12 02:50:33 +00:00
Vladislav Bolkhovitin
5773b2c3ec
Version updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6592 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 06:13:58 +00:00
Vladislav Bolkhovitin
cb404bab7d
3.1.x branch created
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6591 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-11-06 06:10:36 +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