svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6896 | bvassche | 2016-06-08 14:19:24 -0700 (Wed, 08 Jun 2016) | 1 line
ib_srpt: Port to Linux kernel v4.7
........
r6905 | vlnb | 2016-06-29 21:05:14 -0700 (Wed, 29 Jun 2016) | 8 lines
scst: fix possible error path crash in debug mode
It could happen, if a non-pass-through dev handler erroneously returned
SCST_EXEC_NOT_COMPLETED and TRAGE_DBG() statements enabled in debug mode.
Reported-by: Jeff Goldszer <jeff.goldszer@alebra.com>
........
r6908 | vlnb | 2016-07-01 18:42:49 -0700 (Fri, 01 Jul 2016) | 8 lines
iscsi-scst: handle a case in target_del() where the target was already freed
target_del() calls handle_iscsi_events() which may recursively call target_del().
The 1st target_del() may resume its execution after the target object was already freed.
Signed-off-by: Erez Zilber <erezzi.list@gmail.com>
........
r6909 | vlnb | 2016-07-13 16:24:41 -0700 (Wed, 13 Jul 2016) | 3 lines
README.dlm update to refer to LVB truncation prevention patch
........
r6910 | vlnb | 2016-07-13 18:33:20 -0700 (Wed, 13 Jul 2016) | 3 lines
README.dlm: update ToDo to reflect recently discovered APTL issue
........
r6912 | bvassche | 2016-07-22 09:48:38 -0700 (Fri, 22 Jul 2016) | 9 lines
scst_dlm: Initialize reg->dlm_idx for PR information loaded from disk
This patch avoids that the following kernel warning appears while
starting SCST after having loaded APTPL PR information:
WARNING: scst/src/scst_dlm.c:461 scst_copy_to_dlm()
Reported-by: <consus@gmx.com>
........
r6913 | bvassche | 2016-07-22 09:50:31 -0700 (Fri, 22 Jul 2016) | 2 lines
scst_pres: Modify scst_pr_sync_device_file() function prototype
........
r6914 | bvassche | 2016-07-22 09:51:07 -0700 (Fri, 22 Jul 2016) | 2 lines
scst_pres: Save APTPL PR info on both nodes
........
r6917 | vlnb | 2016-07-25 18:42:26 -0700 (Mon, 25 Jul 2016) | 10 lines
iscsi-scst: increase past CmdSN window to 2048
On modern storage there might be more, than 128, commands queued, so
previous CmdSN window might be too small and on unstable networks lead
to infinite retries. For more infor see thread
https://sourceforge.net/p/scst/mailman/message/35238904.
Reported-By: Lev Vainblat <lev@zadarastorage.com>
........
r6918 | vlnb | 2016-07-25 19:04:34 -0700 (Mon, 25 Jul 2016) | 3 lines
scst: small post-r6913 cleanup
........
r6919 | bvassche | 2016-07-26 10:26:17 -0700 (Tue, 26 Jul 2016) | 1 line
/etc/init.d/scst: Make this script work on recent versions of Ubuntu Linux
........
r6920 | bvassche | 2016-08-02 09:31:00 -0700 (Tue, 02 Aug 2016) | 2 lines
scst_dlm: Instantiate lockspace as soon as cluster mode is enabled
........
r6921 | vlnb | 2016-08-02 18:43:24 -0700 (Tue, 02 Aug 2016) | 3 lines
scst: Update README.dlm
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6922 d57e44dd-8a1f-0410-8b47-8ef2f437770f
svn+ssh://svn.code.sf.net/p/scst/svn/trunk
........
r6902 | vlnb | 2016-06-21 19:02:41 -0700 (Tue, 21 Jun 2016) | 12 lines
We found this bug when we add ZFS zvol to vdisk_blockio, remove it from copy
manager, and change ALUA state. After that the zvol would be in constant busy
state, even if we remove all scst modules.
The problem is that blockio_on_alua_state_change_finish will unconditionally
vdisk_open_fd. But for the above mentioned case, tgt_dev_cnt will be zero, so
the fd is permanently leaked. We fix this by only do vdisk_open_fd when
tgt_dev_cnt is not zero.
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6903 d57e44dd-8a1f-0410-8b47-8ef2f437770f
........
r6873 | vlnb | 2016-04-20 19:19:25 -0700 (Wed, 20 Apr 2016) | 3 lines
Some more cleanups
........
r6874 | bvassche | 2016-04-25 11:36:00 -0700 (Mon, 25 Apr 2016) | 2 lines
scst_vdisk: Fix a regression introduced by r6873
........
r6875 | bvassche | 2016-04-25 21:13:42 -0700 (Mon, 25 Apr 2016) | 5 lines
scst: Move kref_get_unless_zero() definition to <scst/backport.h>
This patch is a slightly modified version of a patch supplied by
Israel Rukshin <israelr@mellanox.com>.
........
r6876 | bvassche | 2016-04-26 07:12:17 -0700 (Tue, 26 Apr 2016) | 12 lines
isert: fix double free of a fake request
A nop that is sent from the scst is treated as a fake request.
When a fake request is allocated we release it immediately,
so it's wrong to release it also on a completion error (isert_pdu_err).
This commit fix a NULL dereference bug when receiving completion with
error on this nop.
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Ariel Nahum <arieln@mellanox.com>
........
r6877 | bvassche | 2016-04-26 07:12:47 -0700 (Tue, 26 Apr 2016) | 9 lines
isert: wait for RDMA CM event to complete before destroy resources
There is a race between RDMACM event handler and isert_conn_free.
The event handler use the connection resources and isert_conn_free
destroy them.
This commit fix multiple NULL dereference bugs.
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
........
r6878 | bvassche | 2016-04-26 07:13:13 -0700 (Tue, 26 Apr 2016) | 8 lines
isert: clean tmo timer when freeing the connection
The tmo timer is set when allocating a new connection.
We need to release it in case it didn't execute yet.
Else timer execution will lead to a NULL dereference bug on conn.
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
........
r6879 | bvassche | 2016-04-26 07:13:33 -0700 (Tue, 26 Apr 2016) | 10 lines
isert: fix race between teardown flow and connect flow
It is possible to get ESTABLISHED RDMACM event while the connection
is already started teardown flow (i.e. addr change).
At teardown the refcount is reduced to zero and we start releasing the
connection. In established event We need to check conn is not in teardown
flow by checking its ref count is not 0.
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
........
r6882 | bvassche | 2016-05-01 15:41:20 -0700 (Sun, 01 May 2016) | 4 lines
scst_sysfs, LUN replacement: Initialize 'read_only' before using it
See also r6834.
........
r6884 | vlnb | 2016-05-03 19:47:33 -0700 (Tue, 03 May 2016) | 5 lines
scst_vdisk: extend vend_specific_id to 128 bytes
From Adrian Saul <Adrian.Saul@tpgtelecom.com.au>
........
r6886 | vlnb | 2016-05-05 18:53:30 -0700 (Thu, 05 May 2016) | 6 lines
scst, EXPERIMENTAL: improve commands CPU affinity
Now commands on the fast path processed by the same thread throughout
all its lifetime.
........
r6887 | vlnb | 2016-05-05 19:20:41 -0700 (Thu, 05 May 2016) | 5 lines
cleanup: remove support of old kernels without cancel_delayed_work_sync
Otherwise we can not use scst_mutex on works
........
r6888 | vlnb | 2016-05-05 20:51:21 -0700 (Thu, 05 May 2016) | 5 lines
scst: follow up to r6886
Change local and more global queue priority ratio to 2:1
........
r6890 | vlnb | 2016-05-06 17:49:43 -0700 (Fri, 06 May 2016) | 5 lines
scst: add possibility of polling + few minor doc cleanups
See README diff for more details
........
r6891 | bvassche | 2016-05-06 21:30:46 -0700 (Fri, 06 May 2016) | 1 line
scst, iscsi-scst, scstadmin: Spell successful and unsuccessful correctly
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6895 d57e44dd-8a1f-0410-8b47-8ef2f437770f
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
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
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
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
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