Yan Burman
869ffbb361
isert: Fix crash on service stop when under heavy login/logout load (merge r6081 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6083 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-11 13:14:47 +00:00
Yan Burman
7bcd0af193
isert: Fix case where we got disconnect before login character device was opened (merge r6080 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6082 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-11 13:12:54 +00:00
Yan Burman
b063927262
isert: Properly propagate portal creation error to iscsi-scstd (merge r6004 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6014 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:49:24 +00:00
Yan Burman
66523c09ff
isert: Fix discovery and login with actual 8192 bytes of data (merge r6003 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6013 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:46:55 +00:00
Yan Burman
3634e4c556
isert: Add missing copyright notice (merge r5876 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6012 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:35:37 +00:00
Yan Burman
c4a21c8188
isert: Make sure we have a valid conn pointer (merge r6002 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6011 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:31:46 +00:00
Yan Burman
cad6ebd581
isert: Avoid starving connections in high connect load (merge r6001 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6010 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:30:27 +00:00
Yan Burman
9ca9fc9e67
isert: Make the login character device more posix compliant (merge r5999 from iser)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:29:04 +00:00
Yan Burman
fbab33407c
isert: Do not crash if we receive no data inside PDU (merge r5998 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6008 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:26:30 +00:00
Yan Burman
da329c36ee
iscsi-scstd: Fix error print in iser listener socker create (merge r5994 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6007 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:19:33 +00:00
Yan Burman
ce1363d2d7
isert: Fix connection resource leak (merge r5994 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6006 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:17:32 +00:00
Yan Burman
9049a2dcc4
isert: Fix race between disconnect handler and read by iscsi-scstd (merge r5896 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@6005 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 13:15:10 +00:00
Yan Burman
20a36529b9
Merged revisions 5906-5909,5911,5915-5927,5930 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
........
r5906 | bvassche | 2014-12-03 19:12:20 +0200 (Wed, 03 Dec 2014) | 1 line
Update for kernel 3.17 (merge r5882 from trunk)
........
r5907 | bvassche | 2014-12-03 19:13:06 +0200 (Wed, 03 Dec 2014) | 1 line
Add kernel 3.17 build infrastructure (merge r5883 from trunk)
........
r5908 | bvassche | 2014-12-03 19:14:42 +0200 (Wed, 03 Dec 2014) | 1 line
scripts: Merge 5827:5907 from trunk
........
r5909 | bvassche | 2014-12-03 19:41:09 +0200 (Wed, 03 Dec 2014) | 1 line
Build fixes for RHEL 6.6 kernel 2.6.32-504 (merge r5908 from trunk)
........
r5911 | bvassche | 2014-12-04 14:14:44 +0200 (Thu, 04 Dec 2014) | 1 line
scripts/generate-kernel-patch: Swap two filters (merge r5910 from trunk)
........
r5915 | bvassche | 2014-12-05 12:01:49 +0200 (Fri, 05 Dec 2014) | 1 line
iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-504.patch: Add (merge r5904 from trunk)
........
r5916 | bvassche | 2014-12-05 12:22:05 +0200 (Fri, 05 Dec 2014) | 1 line
nightly: Merge r5720:5915 from trunk
........
r5917 | bvassche | 2014-12-05 12:30:54 +0200 (Fri, 05 Dec 2014) | 1 line
scst_lib: Fix READ POSITION parsing (merge r5740 from trunk)
........
r5918 | bvassche | 2014-12-05 12:33:22 +0200 (Fri, 05 Dec 2014) | 1 line
scst: Clean up __scst_resume_activity() (merge r5589 from trunk)
........
r5919 | bvassche | 2014-12-05 12:49:20 +0200 (Fri, 05 Dec 2014) | 1 line
scstadmin regression tests: Merge r5475:5915 from trunk
........
r5920 | bvassche | 2014-12-05 12:50:41 +0200 (Fri, 05 Dec 2014) | 1 line
scstadmin: Sync saved configuration files (merge r5793 from trunk)
........
r5921 | bvassche | 2014-12-05 12:57:03 +0200 (Fri, 05 Dec 2014) | 1 line
ib_srpt: Speed up kernel driver unloading after a cable pull (merge r5727 from trunk)
........
r5922 | bvassche | 2014-12-05 14:24:23 +0200 (Fri, 05 Dec 2014) | 1 line
scst_local: Avoid that session deletion triggers a kernel warning (merge r5601 and 5631 from trunk)
........
r5923 | bvassche | 2014-12-05 14:25:46 +0200 (Fri, 05 Dec 2014) | 1 line
scst_local: Set max_id to 1 (merge r5786 from trunk)
........
r5924 | bvassche | 2014-12-05 14:55:32 +0200 (Fri, 05 Dec 2014) | 1 line
scst: Add 64-bit LUN support (kernel 3.17 - merge r5587 from trunk)
........
r5925 | bvassche | 2014-12-05 14:56:59 +0200 (Fri, 05 Dec 2014) | 1 line
scst_local: Add 64-bit LUN support (kernel 3.17 - merge r5588 from trunk)
........
r5926 | bvassche | 2014-12-05 14:59:32 +0200 (Fri, 05 Dec 2014) | 1 line
scst: Remove unused variables (merge r5585 from trunk)
........
r5927 | bvassche | 2014-12-05 15:01:57 +0200 (Fri, 05 Dec 2014) | 1 line
scst: Avoid complaints about unused variables (merge r5600 from trunk)
........
r5930 | bvassche | 2014-12-09 14:34:50 +0200 (Tue, 09 Dec 2014) | 1 line
rpm build: Add support for qla2x00t driver in QLogic git repository (merge r5929 from trunk)
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 09:11:06 +00:00
Yan Burman
b3796cea25
Merged revisions 5897-5899, from iser branch
...
------------------------------------------------------------------------
r5899 | yanb123 | 2014-11-30 10:17:18 +0200 (Sun, 30 Nov 2014) | 6 lines
isert: Do not fail with cards that support small number of WR per QP
This fixes an issue with ConnectIB
Reported-by: Eric Millbrandt <eric.millbrandt@cacheio.com >
Signed-off-by: Yan Burman <yanb@mellanox.com >
------------------------------------------------------------------------
r5898 | yanb123 | 2014-11-30 10:17:13 +0200 (Sun, 30 Nov 2014) | 3 lines
isert: Document isert_nr_devs parameter
Signed-off-by: Yan Burman <yanb@mellanox.com >
------------------------------------------------------------------------
r5897 | yanb123 | 2014-11-30 10:17:09 +0200 (Sun, 30 Nov 2014) | 3 lines
isert: Make sure we don't call dma_unmap on memory we already unmapped
Signed-off-by: Yan Burman <yanb@mellanox.com >
------------------------------------------------------------------------
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5902 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-30 14:00:59 +00:00
Yan Burman
7733ce346a
Merged revisions 5859, 5861-5864, 5866-5868, 5871 from iser branch
...
[r5871] by yanb123
isert: Fix page leak if alloc_page fails
[r5868] by yanb123
isert: Do not leak workqueues if ib_create_cq failed
[r5867] by yanb123
isert: Document performance considerations for iSER
[r5866] by yanb123
isert: Fix use-after-free when killing iscsi-scstd
Our portal may be destroyed while there are connections alive.
This means we are doing list_del() from list_head that no longer exists
[r5864] by yanb123
isert: Fix crash on device removal when iscsi-scstd is started with explicit address
[r5863] by yanb123
isert: Make sure we decrement CQ QP counters if QP creation fails
[r5862] by yanb123
isert: Fix closing devices when connection allocation fails
We need to dereference isert_device structures whether
we created them or not if connection creation fails
[r5861] by yanb123
isert: Warn user of potential compilation issue
[r5859] by yanb123
isert: Fix resource leak upon unreachable event
Unreachable event caused by crash of initiator while in
connection establishment flow, would cause leak of connections.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5877 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-18 12:07:35 +00:00
Yan Burman
303efb6b11
Merged revisions 5857-5858 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
................
r5857 | vlnb | 2014-11-15 07:35:50 +0200 (Sat, 15 Nov 2014) | 9 lines
Merged revisions 5855 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5855 | vlnb | 2014-11-14 17:44:06 -0800 (Fri, 14 Nov 2014) | 3 lines
Ease severity of reporting unsupported REPORT LUNS SELECT REPORT value
........
................
r5858 | vlnb | 2014-11-15 07:38:28 +0200 (Sat, 15 Nov 2014) | 9 lines
Merged revisions 5856 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5856 | vlnb | 2014-11-14 17:55:27 -0800 (Fri, 14 Nov 2014) | 3 lines
Report RX data digest failures by default
........
................
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5874 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-11-16 13:54:28 +00:00
Vladislav Bolkhovitin
d503379583
Merge r5845 from the iSER branch: docs cleanups and updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5846 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-17 02:20:45 +00:00
Yan Burman
b5fa12fd0d
Merged revisions 5838, 5840, 5841 from iser branch
...
r5838
isert: Make sure we do dma_unmap on RDMA memory upon flushes
r5840
isert: Raise the number of concurrent login requests we can handle to 127
Also update documentation to reflect current limitations
r5841
isert: Fix small memory leak on module unload
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-13 12:43:39 +00:00
Yan Burman
457dfaaf3e
Merged revisions 5822-5826,5828,5830 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
........
r5822 | bvassche | 2014-10-03 13:51:13 +0200 (Fri, 03 Oct 2014) | 1 line
scripts/rebuild-rhel-kernel-rpm: Enable put_page_callback patch for RHEL 7 (merge r5817 from trunk)
........
r5823 | bvassche | 2014-10-03 13:59:39 +0200 (Fri, 03 Oct 2014) | 1 line
scripts: Merge r5533:5821 from trunk except rebuild-rhel-kernel-rpm
........
r5824 | bvassche | 2014-10-03 14:07:17 +0200 (Fri, 03 Oct 2014) | 2 lines
scripts/rebuild-rhel-kernel-rpm: Move code for downloading a RHEL (clone) RPM into a separate file (merge r5672 from trunk)
........
r5825 | bvassche | 2014-10-03 14:08:24 +0200 (Fri, 03 Oct 2014) | 1 line
scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 support (merge r5712 from trunk)
........
r5826 | bvassche | 2014-10-03 14:10:28 +0200 (Fri, 03 Oct 2014) | 1 line
scripts/rebuild-rhel-kernel-rpm: Fix for invocation from current directory (merge r5744 from trunk)
........
r5828 | bvassche | 2014-10-03 14:24:27 +0200 (Fri, 03 Oct 2014) | 1 line
scripts/generate-kernel-patch: Only generate scst_itf_ver.h if needed (merge r5827 from trunk)
........
r5830 | bvassche | 2014-10-03 14:27:30 +0200 (Fri, 03 Oct 2014) | 2 lines
scst_mem: Fix a memory leak triggered by the scst_user driver (merge r5829 from trunk)
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5831 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-10-05 06:10:20 +00:00
Yan Burman
bf7cb97bc7
Merged revisions 5799-5800,5803,5807,5809,5812-5813,5815 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
................
r5799 | bvassche | 2014-09-12 14:17:49 +0300 (Fri, 12 Sep 2014) | 1 line
fcst/Makefile: Add release-archive target (merge r5798 from trunk)
................
r5800 | bvassche | 2014-09-12 14:19:21 +0300 (Fri, 12 Sep 2014) | 1 line
fcst: Change version number from 0.3 into 3.0.0
................
r5803 | vlnb | 2014-09-13 04:15:12 +0300 (Sat, 13 Sep 2014) | 9 lines
Merged revisions 5802 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5802 | vlnb | 2014-09-12 18:13:29 -0700 (Fri, 12 Sep 2014) | 3 lines
Fix autofinding SCST headers in fileio_tgt
........
................
r5807 | bvassche | 2014-09-15 15:32:02 +0300 (Mon, 15 Sep 2014) | 1 line
ib_srpt: Make "make -j<n> install" work for n >= 2 if "make all" has not been run first (merge r5806 from trunk)
................
r5809 | bvassche | 2014-09-16 14:26:10 +0300 (Tue, 16 Sep 2014) | 1 line
scst/src/Makefile: Make "make install" without prior "make" work (merge r5808 from trunk)
................
r5812 | bvassche | 2014-09-17 14:14:38 +0300 (Wed, 17 Sep 2014) | 1 line
scst_vdisk: Insert a blank line (merge r5810 from trunk)
................
r5813 | bvassche | 2014-09-17 14:18:17 +0300 (Wed, 17 Sep 2014) | 2 lines
vdisk_blockio: Make large COMPARE AND WRITE requests work for stacked block devices (merge r5811 from trunk)
................
r5815 | vlnb | 2014-09-20 08:52:06 +0300 (Sat, 20 Sep 2014) | 3 lines
Version updated
................
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5818 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-29 08:25:48 +00:00
Yan Burman
23e15084cb
Merged revisions 5787-5791 from iser branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5792 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-10 10:28:46 +00:00
Yan Burman
9b246065ab
Merged revisions 5746-5750,5756-5757,5759,5761,5763,5765-5766,5768,5770-5778 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
........
r5746 | bvassche | 2014-09-03 12:12:08 +0300 (Wed, 03 Sep 2014) | 1 line
srpt/README: Fix SLES patch instructions (merge r5682 from trunk)
........
r5747 | bvassche | 2014-09-03 12:14:20 +0300 (Wed, 03 Sep 2014) | 1 line
srpt/Makefile: SLES + Mellanox OFED build fix (merge r5679:5681 from trunk)
........
r5748 | bvassche | 2014-09-03 12:17:39 +0300 (Wed, 03 Sep 2014) | 1 line
Add kernel 3.16 nightly build infrastructure (merge r5719 from trunk)
........
r5749 | bvassche | 2014-09-03 12:19:07 +0300 (Wed, 03 Sep 2014) | 1 line
ib_srpt: Kernel 3.17 build fix (merge r5725 from trunk)
........
r5750 | bvassche | 2014-09-03 12:22:38 +0300 (Wed, 03 Sep 2014) | 1 line
nightly build: Add kernel 3.16.1 (merge r5651:5720 from trunk)
........
r5756 | bvassche | 2014-09-03 15:33:33 +0300 (Wed, 03 Sep 2014) | 1 line
scst.h: Make vzalloc() available on RHEL 6.0 (merge r5752 from trunk)
........
r5757 | bvassche | 2014-09-03 15:35:49 +0300 (Wed, 03 Sep 2014) | 2 lines
scst_vdisk: RHEL 6.0 build fix (merge r5754:5755 from trunk)
........
r5759 | bvassche | 2014-09-03 16:44:53 +0300 (Wed, 03 Sep 2014) | 1 line
scst.h: RHEL 5.10 build fix (merge r5758 from trunk)
........
r5761 | bvassche | 2014-09-03 16:53:03 +0300 (Wed, 03 Sep 2014) | 1 line
scst.h: RHEL 5.10 build fix (merge r5760 from trunk)
........
r5763 | bvassche | 2014-09-03 17:01:04 +0300 (Wed, 03 Sep 2014) | 1 line
scst.h: Fix definition of __aligned() (merge r5762 from trunk)
........
r5765 | bvassche | 2014-09-03 17:25:53 +0300 (Wed, 03 Sep 2014) | 1 line
scst_vdisk: Use parentheses around && inside ||
........
r5766 | bvassche | 2014-09-03 17:27:09 +0300 (Wed, 03 Sep 2014) | 1 line
Update for kernel 3.16 (merge r5717 from trunk)
........
r5768 | bvassche | 2014-09-04 15:45:59 +0300 (Thu, 04 Sep 2014) | 1 line
ib_srpt: Version 3.0.0
........
r5770 | bvassche | 2014-09-04 16:02:42 +0300 (Thu, 04 Sep 2014) | 1 line
iscsi-scst: Build fix for IPV6=n (merge r5732 from trunk)
........
r5771 | bvassche | 2014-09-04 16:06:38 +0300 (Thu, 04 Sep 2014) | 1 line
iscsi-scst: Micro-optimize cmnd_prepare_recv_pdu() (merge r5735 from trunk)
........
r5772 | bvassche | 2014-09-04 16:11:23 +0300 (Thu, 04 Sep 2014) | 1 line
scripts/generate-patched-kernel: Fix for invocation from current directory (merge r5659 and r5745 from trunk)
........
r5773 | bvassche | 2014-09-04 16:13:52 +0300 (Thu, 04 Sep 2014) | 1 line
scripts/kernel-functions: Handle 3.x.0 kernel versions correctly (merge r5658 and r5661 from trunk)
........
r5774 | bvassche | 2014-09-04 16:29:18 +0300 (Thu, 04 Sep 2014) | 1 line
Add support for the RHEL 7 kernel (merge r5710:5711 from trunk)
........
r5775 | bvassche | 2014-09-04 16:44:08 +0300 (Thu, 04 Sep 2014) | 1 line
Forbid using '.' in PR and mode page file names (merge r5702 from trunk)
........
r5776 | bvassche | 2014-09-04 16:46:14 +0300 (Thu, 04 Sep 2014) | 1 line
scst_pres: Make a few error messages more clear (merge r5733 from trunk)
........
r5777 | bvassche | 2014-09-04 16:49:12 +0300 (Thu, 04 Sep 2014) | 1 line
Pass-through error handling fix (merge r5703 from trunk)
........
r5778 | bvassche | 2014-09-04 16:55:04 +0300 (Thu, 04 Sep 2014) | 1 line
scstadmin: Suppress a Perl warning (merge r5731 from trunk)
........
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5784 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-07 14:01:27 +00:00
Yan Burman
83ebe9a810
Merged revisions 5780-5781 from iser branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5782 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-09-07 13:48:59 +00:00
Yan Burman
3c98b77b00
Merged revision 5741 from iser branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5742 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-31 11:44:38 +00:00
Yan Burman
e8f0d9af09
Merged revisions 5671,5687-5697,5723 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
................
r5671 | bvassche | 2014-07-10 09:27:29 +0300 (Thu, 10 Jul 2014) | 1 line
scst: Create /var/lib/scst/pr and /var/lib/scst/vdev_mode_pages during installation (merge r5669 and r5670 from trunk)
................
r5687 | bvassche | 2014-07-20 08:59:31 +0300 (Sun, 20 Jul 2014) | 1 line
iscsi-scst: Handle data buffers with non-zero offset correctly (merge r5683 from trunk)
................
r5688 | bvassche | 2014-07-20 09:01:49 +0300 (Sun, 20 Jul 2014) | 1 line
Makefile: Only report which RPMs have been built if "make rpm" is run as a non-privileged user (merge r5560 from trunk)
................
r5689 | bvassche | 2014-07-20 09:03:55 +0300 (Sun, 20 Jul 2014) | 1 line
fcst: Remove an unused variable (merge r5605 from trunk)
................
r5690 | bvassche | 2014-07-20 09:04:43 +0300 (Sun, 20 Jul 2014) | 1 line
fcst: Move exch_done() calls into ft_cmd_done() (merge r5606 from trunk)
................
r5691 | bvassche | 2014-07-20 09:05:27 +0300 (Sun, 20 Jul 2014) | 1 line
fcst: Handle frame send failures properly (merge r5607 from trunk)
................
r5692 | bvassche | 2014-07-20 09:07:57 +0300 (Sun, 20 Jul 2014) | 1 line
qla2x00t: Documentation / source code comment / log messages spelling fix (merge r5555 from trunk)
................
r5693 | bvassche | 2014-07-20 09:46:28 +0300 (Sun, 20 Jul 2014) | 1 line
scst: Make lockdep_assert_held() easier to use (merge r5573 from trunk)
................
r5694 | bvassche | 2014-07-20 09:47:58 +0300 (Sun, 20 Jul 2014) | 1 line
scst: Leave out FSF mail address (merge r5572 from trunk)
................
r5695 | bvassche | 2014-07-20 09:52:12 +0300 (Sun, 20 Jul 2014) | 1 line
Change BUG_ON(1) into BUG() (merge r5618 from trunk)
................
r5696 | bvassche | 2014-07-20 09:54:00 +0300 (Sun, 20 Jul 2014) | 1 line
iscsi-scst: Suppress a compiler warning (merge r5614 from trunk)
................
r5697 | bvassche | 2014-07-20 10:03:04 +0300 (Sun, 20 Jul 2014) | 1 line
scst/include/scst.h: Define lockdep_assert_held() only once (follow-up for r5693)
................
r5723 | vlnb | 2014-08-21 08:21:55 +0300 (Thu, 21 Aug 2014) | 11 lines
Merged revisions 5721 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5721 | vlnb | 2014-08-20 22:17:47 -0700 (Wed, 20 Aug 2014) | 5 lines
Fix incorrect address computation during receive PDUs preparations
Found and fix suggested by Кирилл Тюшев <kirill.tyushev8@gmail.com>
........
................
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5739 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-08-27 13:49:04 +00:00
Yan Burman
b990f13496
Merged revisions 5564-5565,5580,5591,5599,5604,5623,5632-5638,5645-5646,5652-5653 via svnmerge from
...
svn+ssh://yanb123@svn.code.sf.net/p/scst/svn/branches/3.0.x
................
r5564 | vlnb | 2014-06-04 06:10:31 +0300 (Wed, 04 Jun 2014) | 3 lines
Initialize merging from the trunk
................
r5565 | vlnb | 2014-06-04 06:12:05 +0300 (Wed, 04 Jun 2014) | 13 lines
Merged revisions 5543,5545 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5543 | bvassche | 2014-05-23 00:33:53 -0700 (Fri, 23 May 2014) | 1 line
RHEL 7 build fixes
........
r5545 | bvassche | 2014-05-23 01:36:36 -0700 (Fri, 23 May 2014) | 1 line
scripts/rebuild-rhel-kernel-rpm: Add RHEL 7 RC support
........
................
r5580 | bvassche | 2014-06-11 17:33:30 +0300 (Wed, 11 Jun 2014) | 1 line
ib_srpt: Merge build and login fixes from trunk
................
r5591 | vlnb | 2014-06-12 02:52:43 +0300 (Thu, 12 Jun 2014) | 14 lines
Merged revisions 5584 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5584 | vlnb | 2014-06-11 12:33:18 -0700 (Wed, 11 Jun 2014) | 8 lines
scst: RHEL 5 build fix
Avoid that building the scst kernel module fails on RHEL 5 due to
a missing kvasprintf() implementation.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
................
r5599 | bvassche | 2014-06-13 09:59:13 +0300 (Fri, 13 Jun 2014) | 1 line
ib_srpt: Merge from trunk
................
r5604 | vlnb | 2014-06-14 03:31:55 +0300 (Sat, 14 Jun 2014) | 14 lines
Merged revisions 5602 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5602 | vlnb | 2014-06-13 16:57:26 -0700 (Fri, 13 Jun 2014) | 8 lines
scst_pr_read_reservation(): Initialize returned buffer
Avoid that this function returns an uninitialized buffer to the
initiator if buffer_size < 8. Detected by Coverity.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
................
r5623 | vlnb | 2014-06-25 07:00:14 +0300 (Wed, 25 Jun 2014) | 9 lines
Merged revisions 5610 via svnmerge from
svn+ssh://vlnb@svn.code.sf.net/p/scst/svn/trunk
........
r5610 | vlnb | 2014-06-18 20:51:48 -0700 (Wed, 18 Jun 2014) | 3 lines
Update for 3.15 kernels
........
................
r5632 | bvassche | 2014-06-29 08:18:01 +0300 (Sun, 29 Jun 2014) | 1 line
scst_vdisk: 32-bit build fix (merge r5629 from trunk)
................
r5633 | bvassche | 2014-06-29 08:20:31 +0300 (Sun, 29 Jun 2014) | 1 line
ib_srpt: Remove existing ib_srpt.ko kernel modules before installation (merge r5621, r5628 and r5630 from trunk)
................
r5634 | bvassche | 2014-06-29 08:22:58 +0300 (Sun, 29 Jun 2014) | 1 line
Skip "depmod" while building an RPM (merge r5612 from trunk)
................
r5635 | bvassche | 2014-06-29 08:24:11 +0300 (Sun, 29 Jun 2014) | 1 line
ib_srpt: Set SCSI residual fields in SRP_CMD reply (merge r5622 from trunk)
................
r5636 | bvassche | 2014-06-29 08:25:55 +0300 (Sun, 29 Jun 2014) | 1 line
nightly build: Add kernel 3.15 build infrastructure (merge r5611 from trunk)
................
r5637 | bvassche | 2014-06-29 08:27:14 +0300 (Sun, 29 Jun 2014) | 1 line
regression tests: Sort hash keys before comparing (merge r5582 from trunk)
................
r5638 | bvassche | 2014-06-29 08:28:45 +0300 (Sun, 29 Jun 2014) | 1 line
regression tests: Sync with a recent sysfs change (merge r5581 from trunk)
................
r5645 | bvassche | 2014-06-29 09:00:05 +0300 (Sun, 29 Jun 2014) | 1 line
nightly build, scripts: Merge from trunk (r5533:r5642)
................
r5646 | bvassche | 2014-06-29 09:10:22 +0300 (Sun, 29 Jun 2014) | 2 lines
scst: Switch from the cpu_*() to the cpumask_*() API (merge r5596 from trunk)
................
r5652 | bvassche | 2014-06-30 13:23:11 +0300 (Mon, 30 Jun 2014) | 1 line
nightly build: Merge r5642:r5651 from trunk
................
r5653 | bvassche | 2014-06-30 13:25:24 +0300 (Mon, 30 Jun 2014) | 1 line
scst: Build fixes for kernel versions <= 2.6.34 (merge r5647 and r5648 from trunk)
................
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-07 10:28:33 +00:00
Yan Burman
d3a58749e1
Initialized merge tracking via "svnmerge" with revisions "1-5555" from 3.0.x
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-07 06:50:17 +00:00
Yan Burman
36c28d69b4
Merge iser branch
...
Merged revisions:
5228-5237,5243-5245,5257-5259,5261-5263,5278-5280,5297-5299,5313-5314,5317-5319,5327-5328,5341-5343,5453,5486,5519,5528-5531,5559,5576,5655-5656,5660
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-07 06:40:57 +00:00
Vladislav Bolkhovitin
7583cf2dae
Stable v3.0-based iSER branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x-iser@5556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-27 22:07:43 +00:00
Vladislav Bolkhovitin
eb6ab31e42
Version updated to 3.0.0-rc1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5535 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-22 03:03:04 +00:00
Vladislav Bolkhovitin
7159c4997f
Creating 3.0.x stable branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5534 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-22 02:59:00 +00:00
Vladislav Bolkhovitin
3a4a5eceb2
Improve handling of aborted internal commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5533 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-22 02:56:20 +00:00
Vladislav Bolkhovitin
e49da284e9
Prevent potential deadlock between scst_del_threads() and commands taking scst_mutex
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5532 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-20 23:39:57 +00:00
Bart Van Assche
e6fda471d9
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5527 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-18 16:27:01 +00:00
Bart Van Assche
d615f4ade7
scst_vdisk: Handle attach failures properly (follow-up for r5525)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5526 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-18 11:26:42 +00:00
Vladislav Bolkhovitin
42a37efa55
scst_vdisk: Introduce vdisk_reexamine() and vdisk_close_fd()
...
This patch does not change any functionality
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-17 01:16:33 +00:00
Vladislav Bolkhovitin
b39b5d8502
scst_main: Fix race between scst_resume_activity() and scst_init_thread()
...
After SCST_FLAG_SUSPENDED has been cleared it is essential that
scst_do_job_init() reexamines scst_init_cmd_list to avoid that
commands get stuck in the command init list. This patch fixes the
following race condition that can occur if SCST_FLAG_SUSPENDED
has been set and if scst_init_cmd_list is not empty:
* scst_do_job_init() returns to scst_init_thread() and leaves the
commands that were on the init list on that list.
* scst_init_thread() invokes test_init_cmd_list().
* test_init_cmd_list() returns false because SCST_FLAG_SUSPENDED
has been set.
* scst_resume_activity() clears SCST_FLAG_SUSPENDED and invokes
wake_up_all(&scst_init_cmd_list_waitQ). However, since
scst_init_thread() has not yet added the init thread back to
scst_init_cmd_list_waitQ this wake_up_all() call doesn't do
anything.
* scst_init_thread() adds the init thread to scst_init_cmd_list_waitQ
and unlocks scst_init_lock.
Additionally, remove an unneeded smp_mb__after_clear_bit() call.
wake_up_all() guarantees that if it wakes up a thread that that
thread sees all store operations that were performed by the thread
that invoked wake_up_all() and that preceeded the wake_up_all()
invocation.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-17 01:04:08 +00:00
Vladislav Bolkhovitin
0bf5a3ca92
scst_lib: Clarify scst_init_cmd() documentation
...
The possible return values of scst_init_cmd() are -1, 0 and 1. Mention
this in the comment header above that function.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5523 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-17 00:18:42 +00:00
Vladislav Bolkhovitin
3613f37413
Cleanup
...
Those functions might be called on some corner cases without pr_mutex held
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-16 02:37:29 +00:00
Vladislav Bolkhovitin
36f98ec6df
Cleanups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-16 02:05:38 +00:00
Vladislav Bolkhovitin
416958ee4b
iscsi-scst: One major number per thread pool
...
Assign one major number per thread pool instead of as many major
numbers as there are threads in a thread pool. Do not increment
'major' if thread pool allocation fails. Micro-optimize
iscsi_threads_pool_get() by eliminating the assignment to 'fn'
and the write via snprintf() into name[].
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5520 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-15 01:39:12 +00:00
Bart Van Assche
909abff111
ib_srpt: Source code comment spelling fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5518 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-12 15:56:45 +00:00
Bart Van Assche
caa95c0a8d
scst_pres: Fix a recently introduced checkpatch warning
...
Avoid that checkpatch reports the following:
WARNING: do {} while (0) macros should not be semicolon terminated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5517 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-10 06:20:01 +00:00
Vladislav Bolkhovitin
c20bc04705
Follow up for r5513
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5516 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-10 03:55:11 +00:00
Vladislav Bolkhovitin
c34572f310
Improve tracing of Unit Attentions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5515 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-10 02:10:22 +00:00
Vladislav Bolkhovitin
e3434afb09
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5514 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-09 23:25:13 +00:00
Vladislav Bolkhovitin
10578beb05
Fix sense code for invalid service actions
...
According to T10, multibyte opcode commands with not supported service
actions must be refused with INVALID FIELD IN CDB instead of INVALID
OPCODE
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-09 23:20:49 +00:00
Vladislav Bolkhovitin
16e31bc1cd
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-09 04:14:39 +00:00
Vladislav Bolkhovitin
c92bfdf0ae
scst_vdisk: Introduce three helper functions
...
Introduce the vdisk_bio_alloc(), vdisk_bio_set_failfast() and
vdisk_bio_set_hoq() helper functions. This patch does not change any
functionality.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5511 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-09 03:57:20 +00:00
Vladislav Bolkhovitin
f3820d5bc4
scst: Make pr path configurable
...
Make the path of the file in which persistent reservation information
is stored configurable via sysfs.
Signed-off-by: Bart Van Assche <bvanassche@acm.org > with some improvements and fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-09 03:51:10 +00:00