Commit Graph
584 Commits
Author SHA1 Message Date
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 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 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 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 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
Vladislav Bolkhovitin 8d4a2f0a49 Cleanups and logging improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5503 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-05-06 23:22:32 +00:00
Bart Van Assche cbc9df8306 iscsi-scst/kernel/patches/put_page_callback-3.2.57.patch: Add
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5450 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-20 06:24:23 +00:00
Bart Van Assche 135be0f19d iscsi-scst: Fix a checkpatch warning
Fix the following checkpatch 3.14 warning:

Unnecessary parentheses - maybe == should be = ?


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5435 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-18 05:56:35 +00:00
Vladislav Bolkhovitin bbdf791c65 Update to kernels 3.14
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5432 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-04-18 00:32:51 +00:00
Vladislav Bolkhovitin 8599ec4452 Reimplement dropping of TM requests in a more reliable manner
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5395 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-03-26 23:51:36 +00:00
Vladislav Bolkhovitin 0c66b8aaf7 iscsi-scst: Introduce ARRAY_SIZE()
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@5386 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-03-26 03:21:25 +00:00
Bart Van Assche cbb8071e73 put_page_callback-3.10.30.patch: Add
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-25 10:57:27 +00:00
Bart Van Assche 493f498b7b put_page_callback-3.12.11.patch: Add
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5309 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-25 10:55:36 +00:00
Vladislav Bolkhovitin 9ab22a69fd put_page_callback patch for 3.13.3+ kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5296 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-20 05:54:49 +00:00
Bart Van Assche 69d5b979eb Makefiles: 'uninstall' target fixes
Some components don't have 'uninstall' targets although the top-level
Makefile references them. Some others don't remove the proper file.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-18 08:41:30 +00:00
Bart Van Assche 7d89372c53 Makefiles: respect DESTDIR when specified
Not all SCST components handle DESTDIR properly, or at all.

In particular:
* INSTALL_MOD_PATH should account for DESTDIR when 'make modules_install'
  is invoked, so the kernel make infrastructure deploys the modules
  and runs depmod against the proper directory tree.
* depmods must include a '-b' option to reference the proper directory tree.
* Drop special ISCSI_DESTDIR.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-18 08:40:36 +00:00
Bart Van Assche 79b8ce942e Makefiles: calculate KVER properly
When deriving the kernel version (KVER) from KDIR, the file
$(KDIR)/include/config/kernel.release should be preferred over
'make kernelversion'.

For example, the Ubuntu 3.2.0-23-generic kernel has a kernel.release
file containing '3.2.0-23-generic', but 'make kernelversion' returns
3.2.14. Since the modules are stored under /lib/modules/3.2.0-23-generic,
the value in kernel.release is the correct one to use.
    
Also:
- Evaluate KVER only once
- All depmod commands must include KVER
    
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
[bvanassche: Split long lines / removed trailing whitespace]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-14 15:52:10 +00:00
Bart Van Assche c33cf3f81b Makefiles: Convert from "install" to "make modules_install"
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-14 13:48:54 +00:00
Vladislav Bolkhovitin b4ba1b24c7 iscsi-scst: fix offset calculation
Fixed a subtle bug in iSCSI-SCST with incorrectly calculated offsets
for non-page aligned transfers. Originally discovered, investigated and
fix suggested by Кирилл Тюшев, then Shahar Salzman tested and proved it.
See http://sourceforge.net/mailarchive/message.php?msg_id=31924078



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5281 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-13 04:02:56 +00:00
Vladislav Bolkhovitin e6fd59bda4 Update for 3.13 kernels
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-01-30 02:32:44 +00:00
Vladislav Bolkhovitin 00851a7501 Merge of adding iSER web page and copyright updates from the iSER branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5241 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-01-28 05:17:26 +00:00
Vladislav Bolkhovitin 85ea152e0c [PATCH] scst: Remove casts from INIT_DELAYED_WORK() statements
This is a source code cleanup patch that 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@5221 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-01-22 02:57:49 +00:00
Bart Van Assche 53c344a10e iscsi-scst: Kernel 3.13 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5182 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-01-02 17:20:00 +00:00
Bart Van Assche 1e897454b2 iscsi-scst/kernel/patches/rhel/put_page_callback-2.6.32-431.patch: put_page_callback patch for RHEL 6.5
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5171 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-22 10:02:54 +00:00
Vladislav Bolkhovitin 60d49c8451 Update for kernel 3.12
May be not completed, because this kernel has too many internal issues
reported after enabling "Kernel hacking" config options



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5163 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-19 05:15:48 +00:00
Bart Van Assche 7a82927e0a scripts/rebuild-rhel-kernel-rpm: Add RHEL 6.4 support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5162 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-18 16:23:34 +00:00
Vladislav Bolkhovitin 81349d12a7 scst: Kernel >= 3.10 procfs build fix
The following procfs-related changes have been included in kernel 3.10:
- The PDE() macro has been removed from <linux/proc_fs.h>.
- The create_proc_entry() function has been removed.
- The proc_info field has been removed from struct scsi_host_template.

Unbreak the procfs build for kernel versions >= 3.10



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5148 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-18 05:58:09 +00:00