Commit Graph

2626 Commits

Author SHA1 Message Date
Bart Van Assche
2a4e7122e3 ib_srpt: Eliminate a variable that became superfluous due to previous merges
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3865 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 06:48:57 +00:00
Bart Van Assche
344a72508a ib_srpt: Only invoke wake_up_process() in threaded mode
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3864 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 06:47:40 +00:00
Vladislav Bolkhovitin
98a7e0e8b0 Version changed to 2.1.1-pre
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3862 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 00:25:52 +00:00
Bart Van Assche
2dc3be5a42 Merge trunk r3632 properly
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3861 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 16:20:48 +00:00
Bart Van Assche
c57dc1b9f0 ib_srpt: Merge r3854..3859 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3860 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 16:00:12 +00:00
Bart Van Assche
89eb6b5eb6 ib_srpt: Builds again on 32-bit systems (backported r3815 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3852 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-13 18:45:13 +00:00
Bart Van Assche
5acb28a66b ib_srpt: switch to 2.1.1-pre
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3851 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-13 18:41:25 +00:00
Bart Van Assche
2fd10bc541 Remove outdated srpt to-do list (merge r3847 from the trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3848 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-07 19:04:34 +00:00
Bart Van Assche
23e1a4a9a9 ib_srpt: Prepare 2.1.0 release
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3846 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-07 18:56:47 +00:00
Bart Van Assche
90635c9533 Merge r3844 from the trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3845 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-07 18:55:18 +00:00
Vladislav Bolkhovitin
9f037ecea9 Version updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3840 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 19:25:22 +00:00
Vladislav Bolkhovitin
f371b78573 Merged revisions 3838 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3838 | vlnb | 2011-09-01 15:04:24 -0400 (Thu, 01 Sep 2011) | 3 lines
  
  Update tag for 2.1.0 release
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3839 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 19:06:32 +00:00
Vladislav Bolkhovitin
8099d0ae77 2.1.0 release
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3837 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 19:01:25 +00:00
Vladislav Bolkhovitin
2e0329c2d2 Merged revisions 3799-3800,3818-3819,3823-3825,3828,3831,3833 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3799 | vlnb | 2011-08-04 22:07:35 -0400 (Thu, 04 Aug 2011) | 37 lines
  
  Modified patch from Bart Van Assche <bvanassche@acm.org>:
  
  The range unmapped by the scst_vdisk handler when processing an UNMAP command
  is not correct. The patch below fixes that and also prevents that the following
  kernel crash can be triggered on the target:
  
  Call Trace:
   [<ffffffffa06b5350>] ? srpt_post_send+0xd0/0x140 [ib_srpt]
   [<ffffffff811bb595>] ? cpumask_next_and+0x35/0x50
   [<ffffffff810e6296>] shmem_truncate_range+0x7a6/0xa50
   [<ffffffffa0612ceb>] ? scst_get_buf_full+0x16b/0x270 [scst]
   [<ffffffffa069beb6>] vdisk_exec_unmap+0x1d6/0x4b0 [scst_vdisk]
   [<ffffffff813c0cb6>] ? _raw_spin_unlock+0x16/0x40
   [<ffffffffa069dadc>] vdisk_do_job+0x5fc/0x950 [scst_vdisk]
   [<ffffffffa0605402>] scst_do_real_exec+0xb2/0x400 [scst]
   [<ffffffffa06076a7>] scst_exec+0xd7/0x240 [scst]
   [<ffffffffa06079b6>] scst_send_for_exec+0x1a6/0x2f0 [scst]
   [<ffffffffa06086f8>] scst_process_active_cmd+0x4f8/0x790 [scst]
   [<ffffffffa0608a29>] scst_do_job_active+0x99/0x170 [scst]
   [<ffffffffa060a3da>] scst_cmd_thread+0x15a/0x3b0 [scst]
   [<ffffffff81047470>] ? default_wake_function+0x0/0x20
   [<ffffffffa060a280>] ? scst_cmd_thread+0x0/0x3b0 [scst]
   [<ffffffff8106dc26>] kthread+0x96/0xa0
   [<ffffffff81003cd4>] kernel_thread_helper+0x4/0x10
   [<ffffffff8103db01>] ? finish_task_switch+0x51/0xb0
   [<ffffffff813c0c7c>] ? _raw_spin_unlock_irq+0x1c/0x40
   [<ffffffff813c18b1>] ? restore_args+0x0/0x30
   [<ffffffff8106db90>] ? kthread+0x0/0xa0
   [<ffffffff81003cd0>] ? kernel_thread_helper+0x0/0x10
  
  Invoking truncate_range() with an end len that is not page-size aligned
  triggers it. In other words, with a block size that is below
  PAGE_CACHE_SIZE some UNMAP commands could trigger a kernel bug. I think
  it's better to print an error message and to skip an UNMAP command
  instead of triggering a kernel oops.
........
  r3800 | vlnb | 2011-08-08 21:04:57 -0400 (Mon, 08 Aug 2011) | 3 lines
  
  Update of SCST_Gentoo_HOWTO.txt to SCST 2.x. Thanks to Willem Boterenbrood <w.boterenbrood@gmail.com>!
........
  r3818 | vlnb | 2011-08-17 20:17:06 -0400 (Wed, 17 Aug 2011) | 3 lines
  
  Fix for forgotten devt initialization in preparing internal commands
........
  r3819 | vlnb | 2011-08-17 20:27:12 -0400 (Wed, 17 Aug 2011) | 6 lines
  
  Disable accepting initiator mode commands if initiator mode not enabled
  for 23xx- chips as well as suggested by ido benda <idombd@gmail.com>.
  
  This is extension of r3261 to qla2x00_queuecommand().
........
  r3823 | vlnb | 2011-08-19 19:20:22 -0400 (Fri, 19 Aug 2011) | 3 lines
  
  Update of SCST_Gentoo_HOWTO.txt from Willem Boterenbrood <w.boterenbrood@gmail.com>
........
  r3824 | vlnb | 2011-08-19 19:55:31 -0400 (Fri, 19 Aug 2011) | 3 lines
  
  Fix for one more forgotten initialization in preparing internal commands spotted by kordex@gmail.com
........
  r3825 | bvassche | 2011-08-20 10:04:52 -0400 (Sat, 20 Aug 2011) | 1 line
  
  documentation, spelling: Change phisical into physical
........
  r3828 | bvassche | 2011-08-22 15:19:56 -0400 (Mon, 22 Aug 2011) | 11 lines
  
  scst: Avoid triggering BUG() on uniprocessor systems
  
  On uniprocessor systems with lock debugging disabled spin_is_locked()
  returns false. Disable the spin_is_locked() checks if CONFIG_SMP has not
  been defined.
  
  Reported-by: Frank <frank@debian-nas.org>
  Signed-off-by: Dave Carroll <dcarroll@astekcorp.com>
  Cc: scst-devel <scst-devel@lists.sourceforge.net>
  Cc: Frank <frank@debian-nas.org>
........
  r3831 | vlnb | 2011-08-25 14:08:45 -0400 (Thu, 25 Aug 2011) | 3 lines
  
  Fix possible crash on rel_tgt_id set on transports without is_target_enabled() defined.
........
  r3833 | vlnb | 2011-09-01 14:22:27 -0400 (Thu, 01 Sep 2011) | 5 lines
  
   - Fix possible deadlock between vdev_sysfs_process_get_filename() and vdisk_del_device()
  
   - Cleanups
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3836 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 18:49:22 +00:00
Vladislav Bolkhovitin
98df3f4c7f Blocked revisions 3832 via svnmerge
........
  r3832 | bvassche | 2011-08-31 14:11:21 -0400 (Wed, 31 Aug 2011) | 1 line
  
  nightly build: kernel version updates
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3835 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 18:30:21 +00:00
Vladislav Bolkhovitin
206b744b87 Blocked revisions 3789,3793-3794,3796-3798,3801-3817,3820-3822,3826-3827,3829-3830 via svnmerge
........
  r3789 | bvassche | 2011-07-29 08:58:13 -0400 (Fri, 29 Jul 2011) | 1 line
  
  Remove superfluous double quotes from around #warning messages because checkpatch 3.0 complains about these.
........
  r3793 | bvassche | 2011-08-03 05:05:05 -0400 (Wed, 03 Aug 2011) | 1 line
  
  scstadmin works fine with SCST 2.x too
........
  r3794 | bvassche | 2011-08-03 05:15:50 -0400 (Wed, 03 Aug 2011) | 1 line
  
  Fix a recently introduced compiler warning / remove more superfluous double quotes in a #warning statement
........
  r3796 | bvassche | 2011-08-03 08:34:31 -0400 (Wed, 03 Aug 2011) | 1 line
  
  ib_srpt: Avoid that removing ib_srpt while I/O is ongoing sometimes triggers a hang
........
  r3797 | bvassche | 2011-08-03 08:44:15 -0400 (Wed, 03 Aug 2011) | 1 line
  
  scst: Whitespace-only change - indent code properly
........
  r3798 | bvassche | 2011-08-03 08:46:13 -0400 (Wed, 03 Aug 2011) | 1 line
  
  ib_srpt: Function tracing output format fix
........
  r3801 | bvassche | 2011-08-13 10:10:16 -0400 (Sat, 13 Aug 2011) | 1 line
  
  Update kernel versions
........
  r3802 | bvassche | 2011-08-14 04:07:38 -0400 (Sun, 14 Aug 2011) | 1 line
  
  Update according to new kernel.org directory tree structure
........
  r3803 | bvassche | 2011-08-14 04:48:42 -0400 (Sun, 14 Aug 2011) | 1 line
  
  ib_srpt: Change __constant_cpu_... into cpu_... since the latter are also evaluated at compile time
........
  r3804 | bvassche | 2011-08-14 11:51:17 -0400 (Sun, 14 Aug 2011) | 1 line
  
  scst_local: Fix a recently introduced compiler warning.
........
  r3805 | bvassche | 2011-08-14 12:13:33 -0400 (Sun, 14 Aug 2011) | 1 line
  
  /etc/init.d/scst: Port to Gentoo
........
  r3806 | bvassche | 2011-08-14 15:03:03 -0400 (Sun, 14 Aug 2011) | 1 line
  
  Change __constant_cpu_... into cpu_... since the latter is also evaluated at compile time.
........
  r3807 | bvassche | 2011-08-16 03:47:32 -0400 (Tue, 16 Aug 2011) | 1 line
  
  scripts/specialize-patch: Remove #elif 0 sections from the output
........
  r3808 | bvassche | 2011-08-16 04:32:23 -0400 (Tue, 16 Aug 2011) | 1 line
  
  Follow-up for r3807: make the hunk headers match again.
........
  r3809 | bvassche | 2011-08-16 07:26:59 -0400 (Tue, 16 Aug 2011) | 1 line
  
  scripts/specialize-patch: Update comments next to #else and #endif directives.
........
  r3810 | bvassche | 2011-08-16 07:48:48 -0400 (Tue, 16 Aug 2011) | 1 line
  
  scripts/specialize-patch: Only emit "g1" debug output if debugging has been enabled.
........
  r3811 | bvassche | 2011-08-16 08:20:25 -0400 (Tue, 16 Aug 2011) | 1 line
  
  scripts/filter-trace-entry-exit: Filter out "return;" statements at the end of a function that are not preceeded by a label.
........
  r3812 | bvassche | 2011-08-16 08:22:31 -0400 (Tue, 16 Aug 2011) | 1 line
  
  scripts/specialize-patch: Make sure that checkpatch doesn't complain about space after operator \!
........
  r3813 | bvassche | 2011-08-17 02:58:21 -0400 (Wed, 17 Aug 2011) | 1 line
  
  nightly build: remove "pcbart" config, rename "cellbuzz" into "nightly" and restore previously removed kernel versions.
........
  r3814 | bvassche | 2011-08-17 03:51:08 -0400 (Wed, 17 Aug 2011) | 1 line
  
  srpt/Makefile: Use $(MAKE) instead of make when recursing. See also http://www.gnu.org/s/hello/manual/make/MAKE-Variable.html for more information about why this is important.
........
  r3815 | bvassche | 2011-08-17 04:21:08 -0400 (Wed, 17 Aug 2011) | 1 line
  
  ib_srpt: Builds again on 32-bit systems
........
  r3816 | bvassche | 2011-08-17 04:27:18 -0400 (Wed, 17 Aug 2011) | 1 line
  
  /etc/init.d/scst, Gentoo: do not require that /etc/scst.conf exists when starting SCST. Makes the init script behavior on Gentoo consistent with LSB-compliant distributions.
........
  r3817 | bvassche | 2011-08-17 10:51:48 -0400 (Wed, 17 Aug 2011) | 1 line
  
  nightly build config: Update kernel versions
........
  r3820 | vlnb | 2011-08-17 20:39:13 -0400 (Wed, 17 Aug 2011) | 8 lines
  
  The implementation of many tracing macros in scst_debug.h (like TRACE_DBG)
  requires that at least one more argument must be provided in addition to format
  which in some cases is an overkill. This patch fixes the issue and also unifies
  macro signatures for the cases when CONFIG_SCST_DEBUG is either on or off.
  
  Signed-off-by: Sergey Myasnikov <tigra564 at gmail.com>
........
  r3821 | bvassche | 2011-08-18 05:08:22 -0400 (Thu, 18 Aug 2011) | 1 line
  
  ib_srpt: Clean up tracing statements
........
  r3822 | bvassche | 2011-08-19 05:18:44 -0400 (Fri, 19 Aug 2011) | 1 line
  
  nightly build config: Update to kernel version 3.0.3
........
  r3826 | bvassche | 2011-08-21 04:21:31 -0400 (Sun, 21 Aug 2011) | 1 line
  
  Follow-up for r3816: make sure that /etc/init.d/scst restart works again
........
  r3827 | bvassche | 2011-08-22 15:09:59 -0400 (Mon, 22 Aug 2011) | 1 line
  
  /etc/init.d/scst: Let "scst start" proceed even if the config file is missing
........
  r3829 | vlnb | 2011-08-23 20:20:06 -0400 (Tue, 23 Aug 2011) | 3 lines
  
  Mode pages cleanup
........
  r3830 | vlnb | 2011-08-24 11:30:59 -0400 (Wed, 24 Aug 2011) | 3 lines
  
  Suppoert for rotational attribute added
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3834 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 18:29:49 +00:00
Bart Van Assche
1313e29194 ib_srpt: Avoid that removing ib_srpt while I/O is ongoing sometimes triggers a hang
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3795 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-03 12:15:19 +00:00
Bart Van Assche
73f96c98af ib_srpt: Remove trailing whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3792 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-03 08:21:56 +00:00
Bart Van Assche
8208430a15 ib_srpt: Increase RDMA completion time from 60s to 80s such that it is above the maximum time it can take for the HCA to deliver a completion (which is 60.129s with local ack timeout = 18 and retry_cnt = 7)
(Merged r3649 from the trunk)


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3791 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-03 08:11:24 +00:00
Bart Van Assche
333ea96fb4 ib_srpt: Avoid that failed multipart RDMA transfers cause havoc.
Multipart RDMA transfers can fail after one or more but not all RDMA transfers
have been initiated because either an IB cable has been pulled or the ib_srpt
kernel module has been unloaded while an RDMA transfer is being set up.

(Merged r3632 from the trunk)


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3790 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-03 08:02:17 +00:00
Vladislav Bolkhovitin
0c040289b1 Merged revisions 3786 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3786 | vlnb | 2011-07-28 18:27:22 -0400 (Thu, 28 Jul 2011) | 3 lines
  
  Fix possible deadlock in the sysfs thread processing
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3788 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-28 22:34:46 +00:00
Vladislav Bolkhovitin
b02d8cff3c Blocked revisions 3782-3785 via svnmerge
........
  r3782 | bvassche | 2011-07-27 08:38:51 -0400 (Wed, 27 Jul 2011) | 1 line
  
  Update scstadmin and scst.conf man pages with information about ALUA. Update the scst.conf example too.
........
  r3783 | bvassche | 2011-07-27 10:05:47 -0400 (Wed, 27 Jul 2011) | 1 line
  
  Add remaining Linux kernel 3.0 patches and port nightly build scripts to 3.0 too.
........
  r3784 | bvassche | 2011-07-27 10:07:45 -0400 (Wed, 27 Jul 2011) | 1 line
  
  Add kernel version 3.0
........
  r3785 | bvassche | 2011-07-27 11:05:38 -0400 (Wed, 27 Jul 2011) | 1 line
  
  Fix a typo introduced in the previous commit
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-28 22:31:40 +00:00
Vladislav Bolkhovitin
8c4460b4dd Merged revisions 3775 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3775 | vlnb | 2011-07-26 21:13:10 -0400 (Tue, 26 Jul 2011) | 3 lines
  
  Update for kernels 3.0
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3781 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:33:54 +00:00
Vladislav Bolkhovitin
2b0fb94aff Merged revisions 3720-3721 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3720 | bvassche | 2011-07-22 07:57:25 -0400 (Fri, 22 Jul 2011) | 1 line
  
  scst_vdisk: Fix spelling of a macro name
........
  r3721 | bvassche | 2011-07-22 08:25:08 -0400 (Fri, 22 Jul 2011) | 1 line
  
  scst_vdisk: Join two source code lines
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3780 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:32:38 +00:00
Vladislav Bolkhovitin
2ded8743df Merged revisions 3705 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3705 | bvassche | 2011-07-21 05:52:21 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scst/sysfs: do not access scst_dev_handler_types[] outside its bounds
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3779 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:31:41 +00:00
Vladislav Bolkhovitin
51d09c6fe8 Merged revisions 3713 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3713 | bvassche | 2011-07-21 11:42:58 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scst/ALUA: Support use of the "create" verb next to "add" to create device groups and target groups
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:29:41 +00:00
Vladislav Bolkhovitin
189fef8e15 Merged revisions 3672-3675 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3672 | bvassche | 2011-07-10 07:04:49 -0400 (Sun, 10 Jul 2011) | 1 line
  
  fcst: Add a paragraph to the README
........
  r3673 | vlnb | 2011-07-15 23:41:06 -0400 (Fri, 15 Jul 2011) | 3 lines
  
  put_page_callback patch for RHEL61 implemented by Patrick Zwahlen <paz@navixia.com>
........
  r3674 | bvassche | 2011-07-17 07:34:09 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin: Fix a documentation inconsistency
........
  r3675 | bvassche | 2011-07-17 09:10:39 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin -list_drv_attr: Do not print the error message "No such driver found" for target drivers without attributes
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3777 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:28:31 +00:00
Vladislav Bolkhovitin
728f8f149e Blocked revisions 3676-3687,3691-3694,3696-3697,3699-3700,3702-3704,3707,3714-3719,3731-3732,3735-3737,3741-3742,3748-3750,3752-3756,3759-3760,3764-3769,3771-3772,3774 via svnmerge
........
  r3676 | bvassche | 2011-07-17 09:20:59 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin: Fix documentation of -list_lun_attr and also the error message printed if -driver or -target is missing for -list_lun_attr.
........
  r3677 | bvassche | 2011-07-17 09:30:14 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin: Add missing comma in an error message
........
  r3678 | bvassche | 2011-07-17 09:54:28 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin: Add information about -list_grp_attr in the scstadmin help text. Also, complain if no group name has been specified for -list_grp_attr.
........
  r3679 | bvassche | 2011-07-17 10:07:18 -0400 (Sun, 17 Jul 2011) | 1 line
  
  scstadmin: Make clear that -group is optional for -set_lun_attr.
........
  r3680 | bvassche | 2011-07-18 03:46:17 -0400 (Mon, 18 Jul 2011) | 1 line
  
  /etc/init.d/scst: Use the -noprompt option of scstadmin instead of "echo y |".
........
  r3681 | bvassche | 2011-07-18 03:49:05 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: Only show usage information if -h or -help has been specified. Do not try to execute the specified command if there is a syntax error in the command line arguments.
........
  r3682 | bvassche | 2011-07-18 03:54:12 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: Make -write_config write out initiator names in alphabetical order
........
  r3683 | bvassche | 2011-07-18 04:56:06 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: Partially revert r3678. Checking whether a group name has been specified is the responsability of the Perl command line parser.
........
  r3684 | bvassche | 2011-07-18 05:13:12 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: Should have been included in r3683.
........
  r3685 | bvassche | 2011-07-18 06:00:13 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: When adding a target attribute, report that a target attribute is being added instead of a driver attribute.
........
  r3686 | bvassche | 2011-07-18 06:37:31 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: Change help text wording.
........
  r3687 | bvassche | 2011-07-18 07:54:02 -0400 (Mon, 18 Jul 2011) | 1 line
  
  scstadmin: Make clear that the initiator group argument is optional for the LUN manipulation commands.
........
  r3691 | bvassche | 2011-07-19 11:39:39 -0400 (Tue, 19 Jul 2011) | 1 line
  
  scstadmin: Fix handlers(), the subroutine that scans for loaded device handlers
........
  r3692 | bvassche | 2011-07-19 12:10:11 -0400 (Tue, 19 Jul 2011) | 1 line
  
  Whitespace-ony changes: use tab to indent and remove trailing whitespace
........
  r3693 | bvassche | 2011-07-19 15:06:02 -0400 (Tue, 19 Jul 2011) | 1 line
  
  /etc/init.d/scst: Replace another instance of "echo y | scstadmin" by "scstadmin -noprompt".
........
  r3694 | bvassche | 2011-07-20 02:54:59 -0400 (Wed, 20 Jul 2011) | 1 line
  
  scstadmin: Add local variables for emacs
........
  r3696 | bvassche | 2011-07-20 08:47:04 -0400 (Wed, 20 Jul 2011) | 1 line
  
  scstadmin: Add support for the sysfs interface provided by the code on the sysfs-tree-changes branch
........
  r3697 | bvassche | 2011-07-20 10:47:45 -0400 (Wed, 20 Jul 2011) | 1 line
  
  scstadmin: Unify the code for enumerating all SCST devices and the code for enumerating all SCST devices associated with a specific device handler
........
  r3699 | bvassche | 2011-07-20 12:39:12 -0400 (Wed, 20 Jul 2011) | 1 line
  
  scstadmin: Fix copy/paste bugs in the error messages in initiators() and luns().
........
  r3700 | bvassche | 2011-07-21 03:27:15 -0400 (Thu, 21 Jul 2011) | 1 line
  
  Add man pages for scstadmin, /etc/scst.conf and /etc/default/scst, including the scst-devel mailing list address for feedback and scstadmin author information
........
  r3702 | bvassche | 2011-07-21 04:24:55 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scstadmin: Refactoring - rename mkpath() into make_path(). While the current code works fine, the function mkpath() has the same name but different behavior than the Perl library function mkpath(), which is confusing for humans.
........
  r3703 | bvassche | 2011-07-21 04:26:04 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scstadmin: Modify make_path() such that there is only a single leading slash at the start of absolute paths and such that it does not convert relative paths into absolute paths.
........
  r3704 | bvassche | 2011-07-21 04:27:01 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scstadmin: Refactoring - use make_path() wherever possible
........
  r3707 | bvassche | 2011-07-21 09:46:55 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scstadmin: For the new sysfs interface, make scstadmin independent of the presence of the text [key] on the second line of the value of a sysfs attribute
........
  r3714 | mgandalf | 2011-07-21 13:31:09 -0400 (Thu, 21 Jul 2011) | 1 line
  
  - Initial module support for ALUA
........
  r3715 | mgandalf | 2011-07-21 14:50:58 -0400 (Thu, 21 Jul 2011) | 5 lines
  
  - Hopefully finish out module additions (largely untested)
  - Add basic functions to scstadmin for ALUA
  - Increment versio to be more inline with next SCST release
........
  r3716 | mgandalf | 2011-07-21 14:53:32 -0400 (Thu, 21 Jul 2011) | 1 line
  
  - Rename module directory to new version.
........
  r3717 | mgandalf | 2011-07-21 14:53:54 -0400 (Thu, 21 Jul 2011) | 1 line
  
  - Fix Makefile.
........
  r3718 | bvassche | 2011-07-21 15:00:24 -0400 (Thu, 21 Jul 2011) | 1 line
  
  scstadmin: Make the default installation prefix /usr/local configurable
........
  r3719 | bvassche | 2011-07-22 07:50:11 -0400 (Fri, 22 Jul 2011) | 1 line
  
  ib_srpt: Update author information
........
  r3731 | bvassche | 2011-07-22 09:48:13 -0400 (Fri, 22 Jul 2011) | 1 line
  
  Update kernel versions
........
  r3732 | bvassche | 2011-07-22 11:40:31 -0400 (Fri, 22 Jul 2011) | 1 line
  
  Remove kernel versions 2.6.26 and older
........
  r3735 | mgandalf | 2011-07-22 14:19:33 -0400 (Fri, 22 Jul 2011) | 5 lines
  
  - Add initiator and attribute methods to module.
  - Rename overly long method names.
  - Add a couple more ALUA options to scstadmin.
........
  r3736 | vlnb | 2011-07-22 19:10:08 -0400 (Fri, 22 Jul 2011) | 5 lines
  
  Improve changing debug/release/etc states by making them not depending
  from the previous state. Hence, the corresponding labels were renamed to
  2debug, 2release and 2perf.
........
  r3737 | bvassche | 2011-07-23 04:27:34 -0400 (Sat, 23 Jul 2011) | 1 line
  
  scstadmin: Install scstadmin in the proper directory
........
  r3741 | bvassche | 2011-07-23 08:08:01 -0400 (Sat, 23 Jul 2011) | 1 line
  
  Revert r3737
........
  r3742 | bvassche | 2011-07-23 08:25:55 -0400 (Sat, 23 Jul 2011) | 1 line
  
  scstadmin: Make (un)installation work again
........
  r3748 | bvassche | 2011-07-24 06:03:32 -0400 (Sun, 24 Jul 2011) | 1 line
  
  Remove kernel 2.6.28 because it doesn't build with a recent "make".
........
  r3749 | bvassche | 2011-07-24 06:36:21 -0400 (Sun, 24 Jul 2011) | 1 line
  
  scst: Only define KERN_CONT for non-RHEL pre-2.6.24 kernels instead of defining it conditionally.
........
  r3750 | bvassche | 2011-07-24 06:56:57 -0400 (Sun, 24 Jul 2011) | 1 line
  
  ib_srpt: Fix an RHEL-specific compiler warning.
........
  r3752 | mgandalf | 2011-07-25 11:24:50 -0400 (Mon, 25 Jul 2011) | 4 lines
  
  - Add in device group attributes for if/when they are supported.
  - Add a couple more ALUA arguments to scstadmin.
........
  r3753 | mgandalf | 2011-07-25 14:25:48 -0400 (Mon, 25 Jul 2011) | 5 lines
  
  - Finish out the new ALUA options to scstadmin.
  - Standardize the new options.
  - Bug fixes.
........
  r3754 | mgandalf | 2011-07-25 15:19:14 -0400 (Mon, 25 Jul 2011) | 4 lines
  
  - Read current ALUA configuration.
  - Write current ALUA configuration.
........
  r3755 | mgandalf | 2011-07-25 15:21:55 -0400 (Mon, 25 Jul 2011) | 3 lines
  
  - Remove some left over debugging.
........
  r3756 | mgandalf | 2011-07-25 16:11:21 -0400 (Mon, 25 Jul 2011) | 3 lines
  
  - Ignore the new DEVICE_GROUP clause when applying SCST attributes.
........
  r3759 | bvassche | 2011-07-26 05:26:17 -0400 (Tue, 26 Jul 2011) | 2 lines
  
  srpt: Change default build mode from release to debug. Add support for "make 2debug" / "make 2release" / "make 2perf".
........
  r3760 | bvassche | 2011-07-26 05:27:48 -0400 (Tue, 26 Jul 2011) | 1 line
  
  srpt: Make build mode switches silent
........
  r3764 | mgandalf | 2011-07-26 09:51:10 -0400 (Tue, 26 Jul 2011) | 1 line
  
  - Update addDeviceGroup() to latest svn.
........
  r3765 | mgandalf | 2011-07-26 12:47:49 -0400 (Tue, 26 Jul 2011) | 9 lines
  
  - Finish writeConfiguration().
  - Added clearConfiguration() support for ALUA.
  - Added applyConfiguration() support for ALUA.
  
  At this point, ALUA support should be complete. 
  
  Todo: Rewrite and simplify a whole lot of redundant code.
........
  r3766 | mgandalf | 2011-07-26 13:03:15 -0400 (Tue, 26 Jul 2011) | 3 lines
  
  - Forgot initiators within target groups. ALUA should be complete now.
........
  r3767 | mgandalf | 2011-07-26 13:03:42 -0400 (Tue, 26 Jul 2011) | 3 lines
  
  - Sync version with scst.
........
  r3768 | mgandalf | 2011-07-26 13:18:20 -0400 (Tue, 26 Jul 2011) | 1 line
  
  - Update man page for minor argument changes.
........
  r3769 | mgandalf | 2011-07-26 14:22:12 -0400 (Tue, 26 Jul 2011) | 1 line
  
  - Terminology fix pointed out my Bart Van Assche - rename initiator to target wrt target groups.
........
  r3771 | mgandalf | 2011-07-26 14:28:37 -0400 (Tue, 26 Jul 2011) | 1 line
  
  - Hopefully the last fix for initiator to target.
........
  r3772 | bvassche | 2011-07-26 14:31:58 -0400 (Tue, 26 Jul 2011) | 1 line
  
  scstadmin: Port ALUA support to new sysfs interface
........
  r3774 | mgandalf | 2011-07-26 14:39:14 -0400 (Tue, 26 Jul 2011) | 1 line
  
  - Help menu cleanup.
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3776 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:25:52 +00:00
Vladislav Bolkhovitin
8d83e99f0b Blocked revisions 3644-3651,3655,3660,3662 via svnmerge
........
  r3644 | vlnb | 2011-06-28 21:45:42 -0400 (Tue, 28 Jun 2011) | 9 lines
  
  Major cleanups:
  
   - SCST_CMD_STATE_* and SCST_MCMD_STATE_* constants converted to enums and made more readable
  
   - Dev handlers don't have to call scst_check_local_events() anymore, except if they implement internal queuing
  
  Other minor cleanups and fixes
........
  r3645 | vlnb | 2011-06-29 21:01:17 -0400 (Wed, 29 Jun 2011) | 8 lines
  
   - scst_check_local_events() should be called in scst_real_exec() and
     scst_local_exec(), because if a command passed in those procedures, it
     for sure was delayed in some list, so recheck if it was aborted is
     necessary.
  
   - Cleanup
........
  r3646 | bvassche | 2011-06-30 14:40:29 -0400 (Thu, 30 Jun 2011) | 6 lines
  
  scstadmin: Whitespace fixes for the -write_config changes introduced in r3606.
  
  Separate device handler key and non-key attributes with a single blank line
  instead of two. Indent <target>.<lun>.<attribute> with three tabs instead
  of four.
........
  r3647 | bvassche | 2011-07-01 15:19:20 -0400 (Fri, 01 Jul 2011) | 1 line
  
  ib_srpt: Zero-initialize QP attributes before invoking ib_modify_qp()
........
  r3648 | bvassche | 2011-07-01 15:26:11 -0400 (Fri, 01 Jul 2011) | 1 line
  
  ib_srpt: Log QP timeout if debugging is enabled
........
  r3649 | bvassche | 2011-07-02 07:36:44 -0400 (Sat, 02 Jul 2011) | 1 line
  
  ib_srpt: Increase RDMA completion time from 60s to 80s such that it is above the maximum time it can take for the HCA to deliver a completion (which is 60.129s with local ack timeout = 18 and retry_cnt = 7)
........
  r3650 | bvassche | 2011-07-02 07:54:14 -0400 (Sat, 02 Jul 2011) | 1 line
  
  ib_srpt: Remove a trailing tab
........
  r3651 | bvassche | 2011-07-02 07:55:51 -0400 (Sat, 02 Jul 2011) | 1 line
  
  scst: Avoid that the compiler complains about 'dev' being unused with CONFIG_SCST_STRICT_SERIALIZING enabled
........
  r3655 | bvassche | 2011-07-03 06:04:02 -0400 (Sun, 03 Jul 2011) | 1 line
  
  scst_vdisk: Only mark manually set thin_provisioned sysfs attributes as [key]
........
  r3660 | vlnb | 2011-07-07 15:52:17 -0400 (Thu, 07 Jul 2011) | 3 lines
  
  Web updates
........
  r3662 | vlnb | 2011-07-07 15:56:26 -0400 (Thu, 07 Jul 2011) | 3 lines
  
  Logging cleanup
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3671 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:39:14 +00:00
Vladislav Bolkhovitin
431acc0d1f Merged revisions 3663 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3663 | vlnb | 2011-07-07 15:58:11 -0400 (Thu, 07 Jul 2011) | 3 lines
  
  Let's print initiator and target names for not found LUNs to simplify diagnostics
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:35:29 +00:00
Vladislav Bolkhovitin
a7ff034c24 Merged revisions 3661 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3661 | vlnb | 2011-07-07 15:52:45 -0400 (Thu, 07 Jul 2011) | 3 lines
  
  Cleanup
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:29:31 +00:00
Vladislav Bolkhovitin
a0dd384615 Merged revisions 3659 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3659 | bvassche | 2011-07-07 14:53:58 -0400 (Thu, 07 Jul 2011) | 1 line
  
  fcst: Add a paragraph in the README about the FCoE protocol.
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:23:20 +00:00
Vladislav Bolkhovitin
be51c024b6 Merged revisions 3656-3657 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3656 | bvassche | 2011-07-04 12:20:23 -0400 (Mon, 04 Jul 2011) | 1 line
  
  Add iscsi-scst/kernel/patches/rhel/put_page_callback_addendum-rhel6.patch
........
  r3657 | bvassche | 2011-07-05 12:49:23 -0400 (Tue, 05 Jul 2011) | 1 line
  
  scst: Avoid that scst_pr_remove_device_files() causes a crash if pr_file_name == NULL or pr_file_name1 == NULL
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:17:29 +00:00
Vladislav Bolkhovitin
1c8f3f2b8e Merged revisions 3654 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3654 | bvassche | 2011-07-03 06:03:04 -0400 (Sun, 03 Jul 2011) | 1 line
  
  scst_vdisk: Always add a newline after [key] in sysfs attribute values
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3666 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:15:45 +00:00
Vladislav Bolkhovitin
7117946c2a Merged revisions 3653 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3653 | bvassche | 2011-07-03 05:36:33 -0400 (Sun, 03 Jul 2011) | 1 line
  
  scstadmin: Add command-line options -h and --help
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:13:07 +00:00
Vladislav Bolkhovitin
c233f5a64f Merged revisions 3652 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3652 | bvassche | 2011-07-02 08:30:34 -0400 (Sat, 02 Jul 2011) | 1 line
  
  Send scstadmin help text to stdout instead of stderr such that it is easier to pipe to less
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 21:12:00 +00:00
Vladislav Bolkhovitin
29ce83783c Blocked revisions 3606-3609,3626-3633 via svnmerge
........
  r3606 | bvassche | 2011-06-22 15:18:39 -0400 (Wed, 22 Jun 2011) | 13 lines
  
  scstadmin: Multiple -write_config bug fixes.
  
  Bug fixes:
  - Do not write out the line "# Non-key attributes" for the top level if -nonkey
    has not been specified.
  - If -nonkey has been specified, write out the device handler creation time
    attributes too (blocksize, o_direct, read_only, removable, ...).
  - If -nonkey has been specified, write out the LUN creation time attributes
    too (read_only).
  
  Also, simplify the -write_config implementation by introducing the Perl
  subroutines serializeKeyAttr() and serializeNkAttr().
........
  r3607 | bvassche | 2011-06-22 15:28:15 -0400 (Wed, 22 Jun 2011) | 1 line
  
  ib_srpt: Remove two superfluous blank lines
........
  r3608 | bvassche | 2011-06-23 14:23:38 -0400 (Thu, 23 Jun 2011) | 1 line
  
  Kernel version updates
........
  r3609 | vlnb | 2011-06-23 20:46:02 -0400 (Thu, 23 Jun 2011) | 3 lines
  
  Docs updates. Update for qla2x00t-howto-debian.html was sent by Barry Schut <b.schut@iu.nl>
........
  r3626 | bvassche | 2011-06-25 15:13:50 -0400 (Sat, 25 Jun 2011) | 1 line
  
  ib_srpt: Eliminate the magic constant SRPT_DEF_SG_PER_WQE
........
  r3627 | bvassche | 2011-06-25 15:32:32 -0400 (Sat, 25 Jun 2011) | 6 lines
  
  ib_srpt: Works again on mthca (not tested yet). A quote from the OFED 1.2.5
  release notes (docs/mthca_release_notes.txt), section "3. Known Issues":
  
  3. In mem-free devices, RC QPs can be created with a maximum of (max_sge - 3)
     entries only.
........
  r3628 | bvassche | 2011-06-26 03:20:49 -0400 (Sun, 26 Jun 2011) | 1 line
  
  ib_srpt: Document known max_sge limitations
........
  r3629 | bvassche | 2011-06-26 09:33:09 -0400 (Sun, 26 Jun 2011) | 1 line
  
  ib_srpt: Inline srpt_release_channel()
........
  r3630 | bvassche | 2011-06-26 10:30:38 -0400 (Sun, 26 Jun 2011) | 1 line
  
  ib_srpt: Relax a BUG_ON() statement into WARN_ON()
........
  r3631 | bvassche | 2011-06-26 10:32:00 -0400 (Sun, 26 Jun 2011) | 1 line
  
  ib_srpt: Embed HCA name in srpt thread name
........
  r3632 | bvassche | 2011-06-26 10:46:23 -0400 (Sun, 26 Jun 2011) | 5 lines
  
  ib_srpt: Avoid that failed multipart RDMA transfers cause havoc.
  Multipart RDMA transfers can fail after one or more but not all RDMA transfers
  have been initiated because either an IB cable has been pulled or the ib_srpt
  kernel module has been unloaded while an RDMA transfer is being set up.
........
  r3633 | bvassche | 2011-06-26 10:57:11 -0400 (Sun, 26 Jun 2011) | 1 line
  
  ib_srpt: Update test documentation
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-28 01:15:50 +00:00
Vladislav Bolkhovitin
618897d1af Merged revisions 3635 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3635 | vlnb | 2011-06-27 21:08:31 -0400 (Mon, 27 Jun 2011) | 5 lines
  
   - Added CPU barriers around io_context_ready manipulations
   - Docs updates
   - Cleanups
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-28 01:13:44 +00:00
Bart Van Assche
2d400c4102 Add implicit ALUA support (merged r3446, r3451, r3457 and r3513 from the trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-27 16:16:03 +00:00
Vladislav Bolkhovitin
d0cce4dd52 Merged revisions 3596-3597 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3596 | bvassche | 2011-06-19 12:38:53 -0400 (Sun, 19 Jun 2011) | 1 line
  
  scstadmin: Fix a typo
........
  r3597 | bvassche | 2011-06-19 12:39:52 -0400 (Sun, 19 Jun 2011) | 1 line
  
  scstadmin: Escape a single quote in order not to confuse syntax highlighting editors
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3605 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-20 20:52:08 +00:00
Vladislav Bolkhovitin
df92a982ba Blocked revisions 3582-3593,3598-3600,3603 via svnmerge
........
  r3582 | vlnb | 2011-06-16 22:34:21 -0400 (Thu, 16 Jun 2011) | 3 lines
  
  Docs update from Bart Van Assche <bvanassche@acm.org>
........
  r3583 | vlnb | 2011-06-16 22:43:05 -0400 (Thu, 16 Jun 2011) | 16 lines
  
  With NPIV initiators being destroyed and recreated, the loop_id and/or
  the d_id of a virtual initiator may change. The current implementation not
  always catches these changes, which leads to wrong virtual devices
  being presented to the initiators. This can lead to i.e. corruption of LUN
  content and multiple initiators writing to the same LUN, although the
  LUN's access group only contains a single port.
  
  Until a better solution is found, we schedule a session deletion for the
  nexus when receiving an ELS  port logout message. That way SCST
  will re-initialize both loop_id and d_id when the initiator reconnects
  before the actual deletion takes place. The performance impact is
  minimal (few milliseconds) and currently necessary.
  
  Signed-off-by: Jens-U. Mozdzen <jmozdzen@nde.ag>
........
  r3584 | bvassche | 2011-06-17 06:58:46 -0400 (Fri, 17 Jun 2011) | 1 line
  
  qla2x00t: Fix a checkpatch complaint about whitespace
........
  r3585 | bvassche | 2011-06-17 13:53:06 -0400 (Fri, 17 Jun 2011) | 1 line
  
  ib_srpt README: Add a paragraph about adding and removing LUNs dynamically
........
  r3586 | vlnb | 2011-06-17 18:34:04 -0400 (Fri, 17 Jun 2011) | 3 lines
  
  RHEL6 fix
........
  r3587 | vlnb | 2011-06-17 18:35:12 -0400 (Fri, 17 Jun 2011) | 3 lines
  
  Auto set thin provisioning for BLOCKIO devices
........
  r3588 | vlnb | 2011-06-17 18:38:00 -0400 (Fri, 17 Jun 2011) | 3 lines
  
  Unmap fixes
........
  r3589 | bvassche | 2011-06-18 07:40:06 -0400 (Sat, 18 Jun 2011) | 1 line
  
  ib_srpt: Update dynamic LUN documentation
........
  r3590 | vlnb | 2011-06-18 17:00:14 -0400 (Sat, 18 Jun 2011) | 3 lines
  
  Return max unmap LBA count in the blocks limits page as well
........
  r3591 | vlnb | 2011-06-18 17:15:59 -0400 (Sat, 18 Jun 2011) | 15 lines
  
  Several wait loops in the SCST source code are similar. Move the common code
  into a new macro called wait_event_locked().
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
  
  +
  
  Micro-optimize wait_event_locked(). Switch from default_wake_function() to
  autoremove_wake_function() (via DEFINE_WAIT()). The result is that
  wait_queue_head_t.lock is locked once instead of twice for wakeup + wait queue
  removal.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r3592 | bvassche | 2011-06-19 02:11:03 -0400 (Sun, 19 Jun 2011) | 1 line
  
  Remove a recently introduced blank line
........
  r3593 | bvassche | 2011-06-19 02:21:49 -0400 (Sun, 19 Jun 2011) | 1 line
  
  scstadmin(sysfs): Make writing top-level non-key attributes work. Do not indent these attributes.
........
  r3598 | bvassche | 2011-06-19 12:58:29 -0400 (Sun, 19 Jun 2011) | 1 line
  
  scstadmin: Use 1 instead of TRUE where an integer exit code is returned
........
  r3599 | bvassche | 2011-06-19 13:30:41 -0400 (Sun, 19 Jun 2011) | 1 line
  
  scstadmin: Another return value consistency improvement
........
  r3600 | bvassche | 2011-06-19 14:43:31 -0400 (Sun, 19 Jun 2011) | 1 line
  
  scstadmin: Minor source code simplification
........
  r3603 | vlnb | 2011-06-20 16:40:32 -0400 (Mon, 20 Jun 2011) | 3 lines
  
  Fix crash on TP check, if file name is NULL
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3604 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-20 20:51:11 +00:00
Vladislav Bolkhovitin
3ae16eb269 Merged revisions 3601 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3601 | vlnb | 2011-06-20 16:09:04 -0400 (Mon, 20 Jun 2011) | 3 lines
  
  Cleanup
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3602 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-20 20:10:55 +00:00
Bart Van Assche
148776e623 scstadmin(sysfs): Make writing top-level non-key attributes work. Do not indent these attributes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3594 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-19 06:22:01 +00:00
Vladislav Bolkhovitin
7431292d07 Blocked revisions 3579 via svnmerge
........
  r3579 | vlnb | 2011-06-15 16:16:59 -0400 (Wed, 15 Jun 2011) | 3 lines
  
  Unmap improvements
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-17 00:33:22 +00:00
Vladislav Bolkhovitin
f9fd69c9aa Merged revisions 3577-3578 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3577 | vlnb | 2011-06-15 16:12:56 -0400 (Wed, 15 Jun 2011) | 5 lines
  
  Merge on the mainline qla2xxx git revision 0f19bc681ed0849a2b95778460a0a8132e3700e2:
  
  Fix MSIX lockdep complain.
........
  r3578 | vlnb | 2011-06-15 16:15:56 -0400 (Wed, 15 Jun 2011) | 3 lines
  
  Logging improvements and cleanups
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-17 00:32:48 +00:00
Vladislav Bolkhovitin
8a6877777e Blocked revisions 3563-3575 via svnmerge
........
  r3563 | vlnb | 2011-06-09 21:43:05 -0400 (Thu, 09 Jun 2011) | 3 lines
  
  Web and docs updates
........
  r3564 | vlnb | 2011-06-09 22:38:04 -0400 (Thu, 09 Jun 2011) | 36 lines
  
  Currently there are three different init scripts inside the SCST project:
  scst, iscsi-scst and qla2x00t. This makes it unnecessary hard for users to
  run several target drivers simultaneously. Additionally, several variants of
  these init scripts exist for different distributions. This patch unifies all
  these init scripts into a single init script. Additionally, some new features
  have been added:
  - Kernel module parameters can now be specified per kernel module in
    /etc/default/scst. An example:
   ib_srpt_parameters="thread=1 srp_max_req_size=4200"
  - When using the sysfs interface, compute the kernel module list from scst.conf.
    Or, editing the SCST_MODULES variable is no longer necessary.
  - When using the procfs interface, the SCST handler kernel module list is
    computed from /etc/scst.conf. The list of target driver kernel modules must
    now be configured in /etc/default/scst.
  
  Other changes:
  - scstadmin output is shown if scstadmin fails.
  - Running make -C scstadmin install does no longer cause the scst script to
    be started at the next reboot - it is better to leave this as an explicit step.
  - Made the error message generated if the lsb-core package has not yet been
    installed more clear.
  - Use proper init script path on Slackware.
  - make uninstall: run remove_initd under chroot if $(DESTDIR) is not empty.
  - Fixed a bug in "make -C scstadmin uninstall": the path specified for removing
    /etc/init.d/scst was wrong.
  - The command /etc/init.d/scst restart will only try to start SCST if stopping
    succeeded.
  - Replaced "mkdir -m 755 -p $(DESTDIR)$(INITDIR)" by
    "install -d $(DESTDIR)$(INITDIR)" because of uniformity.
  
  These changes have been tested on Ubuntu 11.04, Fedora 15, CentOS 5.6,
  Scientific Linux 6.0, openSUSE 11.4, SLES11 SP1 and Slackware 13.37.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r3565 | bvassche | 2011-06-10 13:56:56 -0400 (Fri, 10 Jun 2011) | 1 line
  
  Follow-up for r3564: add sample /etc/default/scst file
........
  r3566 | bvassche | 2011-06-10 14:03:06 -0400 (Fri, 10 Jun 2011) | 1 line
  
  Slackware: Do not suggest the user to run a script to activate /etc/init.d/scst on boot because such a script does not exist on Slackware.
........
  r3567 | bvassche | 2011-06-10 14:03:11 -0400 (Fri, 10 Jun 2011) | 8 lines
  
  More /ec/init.d/scst tuning:
  - Works now if the SCST modules have been compiled into the kernel (=Y) instead of being compiled as modules (=M).
  - Rename DAEMONS into SCST_DAEMONS.
  - Use the same name for loading and removing the iSCSI kernel module (iscsi_scst).
  - Set the path after having read /lib/lsb/init-functions instead of before.
  - Remove the path from the killall command.
  - When parsing /etc/default/scst, handle both parameters with and without embedded spaces correctly.
........
  r3568 | bvassche | 2011-06-11 06:26:25 -0400 (Sat, 11 Jun 2011) | 1 line
  
  /etc/init.d/scst: Relax parsing of /etc/scst.conf. Accept sequences of blanks and tabs instead of only spaces when looking for device handler and target driver names.
........
  r3569 | bvassche | 2011-06-11 11:55:49 -0400 (Sat, 11 Jun 2011) | 1 line
  
  /etc/init.d/scst: Improved /etc/scst.conf parsing robustness for manually edited scst.conf files
........
  r3570 | bvassche | 2011-06-13 08:19:01 -0400 (Mon, 13 Jun 2011) | 2 lines
  
  ib_srpt: Restore timeout handler (reverts r3537).
........
  r3571 | bvassche | 2011-06-13 08:22:33 -0400 (Mon, 13 Jun 2011) | 2 lines
  
  ib_srpt: Make srpt_rdy_to_xfer() handle IB send queue overflow correctly.
........
  r3572 | bvassche | 2011-06-13 08:26:51 -0400 (Mon, 13 Jun 2011) | 1 line
  
  ib_srpt: Export RDMA channel state to sysfs
........
  r3573 | bvassche | 2011-06-13 08:32:10 -0400 (Mon, 13 Jun 2011) | 1 line
  
  ib_srpt: Disable IB completion notifcations after having received the LAST_WQE notification / show how many SCST commands are still in progress while waiting for session unregistration
........
  r3574 | bvassche | 2011-06-13 08:35:41 -0400 (Mon, 13 Jun 2011) | 1 line
  
  ib_srpt: Convert srpt_rdma_ch.sq_wr_avail from an atomic into a spinlock-protected integer
........
  r3575 | bvassche | 2011-06-13 08:38:18 -0400 (Mon, 13 Jun 2011) | 1 line
  
  ib_srpt: Internal change to the credit algorithm. No externally observable behavior is changed.
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3576 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-15 20:06:23 +00:00
Vladislav Bolkhovitin
591490f090 Merged revisions 3491 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3491 | bvassche | 2011-05-28 11:59:16 -0400 (Sat, 28 May 2011) | 1 line
  
  scstadmin: fixed bug in "make uninstall" - specify proper directory when uninstalling scstadmin.
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-09 20:54:53 +00:00
Vladislav Bolkhovitin
867663c078 Blocked (or already merged) revisions 3384-3389,3392-3393,3395,3397,3399-3414,3421-3425,3428-3435,3438-3466,3471-3472,3474,3476-3478,3480,3483-3484,3488-3490,3492-3500,3503-3504,3506-3507,3510,3512-3523,3525-3546,3549,3552,3557-3558 via svnmerge
........
  r3384 | bvassche | 2011-04-15 14:21:05 -0400 (Fri, 15 Apr 2011) | 1 line
  
  Kernel version updates.
........
  r3385 | vlnb | 2011-04-16 11:17:19 -0400 (Sat, 16 Apr 2011) | 3 lines
  
  Minor fixes
........
  r3386 | vlnb | 2011-04-16 11:24:43 -0400 (Sat, 16 Apr 2011) | 3 lines
  
  Possibility to trace reservation conflicts added
........
  r3387 | vlnb | 2011-04-16 11:30:33 -0400 (Sat, 16 Apr 2011) | 3 lines
  
  Autogenerated SCST target names made deprecated
........
  r3388 | vlnb | 2011-04-16 11:36:32 -0400 (Sat, 16 Apr 2011) | 3 lines
  
  HCAs GUIDs should be used as target names
........
  r3389 | vlnb | 2011-04-16 11:45:13 -0400 (Sat, 16 Apr 2011) | 3 lines
  
  Minor cleanup
........
  r3392 | vlnb | 2011-04-16 12:18:48 -0400 (Sat, 16 Apr 2011) | 2 lines
  
  Version changed to 3.0
........
  r3393 | bvassche | 2011-04-16 13:54:54 -0400 (Sat, 16 Apr 2011) | 1 line
  
  Reverted because untested.
........
  r3395 | vlnb | 2011-04-19 18:56:07 -0400 (Tue, 19 Apr 2011) | 3 lines
  
  Docs update
........
  r3397 | vlnb | 2011-04-20 18:51:51 -0400 (Wed, 20 Apr 2011) | 3 lines
  
  HCAs GUIDs should be used as target names
........
  r3399 | vlnb | 2011-04-22 15:10:08 -0400 (Fri, 22 Apr 2011) | 2 lines
  
  Minor logging fix
........
  r3400 | vlnb | 2011-04-23 17:13:50 -0400 (Sat, 23 Apr 2011) | 3 lines
  
  Full buffers must always be processed, otherwise bad things could happen
........
  r3401 | vlnb | 2011-04-23 20:12:01 -0400 (Sat, 23 Apr 2011) | 7 lines
  
  Attached is a patch to make the names scst_get_full_buf and
  scst_put_full_buf consistent with the naming convention. That is,
  change them to scst_{get,put}_buf_full.
  
  Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
........
  r3402 | bvassche | 2011-04-24 02:40:52 -0400 (Sun, 24 Apr 2011) | 1 line
  
  Removed a superfluous #include directive.
........
  r3403 | bvassche | 2011-04-25 05:05:11 -0400 (Mon, 25 Apr 2011) | 1 line
  
  Linux kernel 2.6.39 build fixes.
........
  r3404 | bvassche | 2011-04-25 05:42:03 -0400 (Mon, 25 Apr 2011) | 1 line
  
  RHEL / CentOS 5.6 build fix.
........
  r3405 | bvassche | 2011-04-25 06:01:18 -0400 (Mon, 25 Apr 2011) | 1 line
  
  Follow-up for r3403: builds again against kernel 2.6.27.
........
  r3406 | bvassche | 2011-04-25 06:52:44 -0400 (Mon, 25 Apr 2011) | 1 line
  
  Kernel version updates.
........
  r3407 | bvassche | 2011-04-25 13:24:50 -0400 (Mon, 25 Apr 2011) | 1 line
  
  Reverted r3404 because it's not a complete fix for RHEL / CentOS 5.6.
........
  r3408 | bvassche | 2011-04-25 13:33:00 -0400 (Mon, 25 Apr 2011) | 1 line
  
  RHEL/CentOS 5.6 build fix.
........
  r3409 | bvassche | 2011-04-25 14:02:58 -0400 (Mon, 25 Apr 2011) | 1 line
  
  Bug fix for RHEL 6.
........
  r3410 | vlnb | 2011-04-25 19:16:53 -0400 (Mon, 25 Apr 2011) | 1 line
  
  Revert r3403 and 3405, because they crash on scst_local with blockio initialization on 2.6.38
........
  r3411 | vlnb | 2011-04-25 19:50:49 -0400 (Mon, 25 Apr 2011) | 3 lines
  
  NOP-In/response timeouts improvements
........
  r3412 | vlnb | 2011-04-25 20:01:29 -0400 (Mon, 25 Apr 2011) | 3 lines
  
  Fix for crash on retry after double reset UA reported by Matteo Tescione <matteo@rmnet.it>
........
  r3413 | vlnb | 2011-04-25 20:04:01 -0400 (Mon, 25 Apr 2011) | 3 lines
  
  Correctly process being read cmd during abort
........
  r3414 | vlnb | 2011-04-25 20:06:23 -0400 (Mon, 25 Apr 2011) | 3 lines
  
  Rerference on the orig cmd should be taken during data out processing to correctly perform aborts
........
  r3421 | vlnb | 2011-04-26 15:07:13 -0400 (Tue, 26 Apr 2011) | 5 lines
  
   - More timers improvements
  
   - Cleanups
........
  r3422 | vlnb | 2011-04-27 16:46:17 -0400 (Wed, 27 Apr 2011) | 3 lines
  
  Patch from Grigory Eykalis <Grigory.Eykalis@dothill.com> with some changes implementing pass-through functionality
........
  r3423 | vlnb | 2011-04-27 19:29:46 -0400 (Wed, 27 Apr 2011) | 3 lines
  
  Follow up commit for r3422
........
  r3424 | vlnb | 2011-04-29 14:21:30 -0400 (Fri, 29 Apr 2011) | 3 lines
  
  iSNS server should know only about enabled targets
........
  r3425 | vlnb | 2011-04-29 15:54:13 -0400 (Fri, 29 Apr 2011) | 3 lines
  
  Don't abort not yet received commands
........
  r3428 | vlnb | 2011-04-29 17:53:19 -0400 (Fri, 29 Apr 2011) | 3 lines
  
  Don't allow to create targets with the same names
........
  r3429 | vlnb | 2011-04-29 19:50:59 -0400 (Fri, 29 Apr 2011) | 3 lines
  
  Remove "unused variable" warning on old kernels
........
  r3430 | bvassche | 2011-04-30 02:41:03 -0400 (Sat, 30 Apr 2011) | 1 line
  
  Fix a compiler warning on pre-2.6.35 non-RHEL systems.
........
  r3431 | bvassche | 2011-04-30 13:42:23 -0400 (Sat, 30 Apr 2011) | 2 lines
  
  Bug fix: do not try to apply patch readahead-2.6.32.below11.patch on kernel 2.6.32.11 or any later 2.6.32 kernel.
........
  r3432 | bvassche | 2011-05-01 03:43:18 -0400 (Sun, 01 May 2011) | 1 line
  
  Removed the constant REPORT_DEVICE_IDENTIFIER from scst/include/scst_const.h because it is not used anywhere in the SCST source tree.
........
  r3433 | bvassche | 2011-05-01 05:14:06 -0400 (Sun, 01 May 2011) | 1 line
  
  Expand CONFIG_SCST_PROC too.
........
  r3434 | bvassche | 2011-05-02 13:43:54 -0400 (Mon, 02 May 2011) | 2 lines
  
  Added #include <linux/slab.h> for kmem_cache_free().
........
  r3435 | vlnb | 2011-05-03 16:51:39 -0400 (Tue, 03 May 2011) | 3 lines
  
  MultiP must be 1 and HiSup 0. Dejavu, I've already fixed it.
........
  r3438 | vlnb | 2011-05-03 17:27:30 -0400 (Tue, 03 May 2011) | 2 lines
  
  RHEL5/6 workaround
........
  r3439 | vlnb | 2011-05-05 18:46:18 -0400 (Thu, 05 May 2011) | 3 lines
  
  Fix incorrect errors reporting on deleting LUNs from groups in the proc interface
........
  r3440 | vlnb | 2011-05-05 18:47:28 -0400 (Thu, 05 May 2011) | 3 lines
  
  Cleanup
........
  r3441 | bvassche | 2011-05-08 07:55:43 -0400 (Sun, 08 May 2011) | 1 line
  
  scst.h: Avoid that including scst.h before <linux/slab.h> triggers a warning about a preprocessor symbol redefinition.
........
  r3442 | bvassche | 2011-05-08 07:59:05 -0400 (Sun, 08 May 2011) | 1 line
  
  Updated kernel versions.
........
  r3443 | mgandalf | 2011-05-09 16:03:07 -0400 (Mon, 09 May 2011) | 1 line
  
  - Enable all hardware targets before adding virtual ones.
........
  r3444 | vlnb | 2011-05-09 19:07:23 -0400 (Mon, 09 May 2011) | 3 lines
  
  Rework iSCSI aborts to make them more correct and remove recent workarounds (one more post-IET cleanup)
........
  r3445 | vlnb | 2011-05-10 21:56:38 -0400 (Tue, 10 May 2011) | 3 lines
  
  Let's make build state changes errors more clear
........
  r3446 | vlnb | 2011-05-10 22:22:48 -0400 (Tue, 10 May 2011) | 22 lines
  
  Add explicit ALUA support. On a setup with more than one target port
  (sometimes called storage head) this patch makes it possible to tell the
  initiator which port to use. Since that information can be specified per LUN,
  with this patch it is not only possible to tell the initiator which path to
  choose but also to balance the load over target ports. Target port attributes
  can not only be defined for target ports that exist on the system on which
  SCST is running but also for target ports present on other nodes of the same
  HA setup. As far as I know this feature is unique among open source storage
  target implementations.
  
  Note: with this patch SCSI target port attributes can be defined for each LUN
  defined on each SCST target individually. Such an SCST target is either a
  physical entity (e.g. a HCA for the ib_srpt driver) or a logical entity (e.g.
  an iSCSI target for the iscsi_scst driver). In the last case it is up to the
  user to make sure that there is a one-to-one relationship between SCST target
  and SCSI target port.
  
  This patch is based on the specifications in the ANSI T10 spc4r30 document.
  
  Signed-off-by: Bart Van Assche <bvanassche@acm.org>
........
  r3447 | bvassche | 2011-05-11 07:00:01 -0400 (Wed, 11 May 2011) | 1 line
  
  iscsi-scst/kernel/iscsi.c: fix a checkpatch complaint about whitespace.
........
  r3448 | bvassche | 2011-05-11 07:01:32 -0400 (Wed, 11 May 2011) | 1 line
  
  Update kernel versions.
........
  r3449 | vlnb | 2011-05-11 12:28:41 -0400 (Wed, 11 May 2011) | 3 lines
  
  Minor logging changes
........
  r3450 | vlnb | 2011-05-11 21:31:01 -0400 (Wed, 11 May 2011) | 3 lines
  
  TM handling fixes, part2, hopefully, final.
........
  r3451 | bvassche | 2011-05-13 01:59:51 -0400 (Fri, 13 May 2011) | 1 line
  
  Added missing scst_tg.o as reported by Novgorodov Igor.
........
  r3452 | bvassche | 2011-05-13 02:13:52 -0400 (Fri, 13 May 2011) | 2 lines
  
  iscsi-scst: Fixed a compilation error that only occurred with GENERATING_UPSTREAM_PATCH defined.
........
  r3453 | bvassche | 2011-05-13 06:40:40 -0400 (Fri, 13 May 2011) | 1 line
  
  scripts/run-regression-tests: echo "FAILED" if compilation failed.
........
  r3454 | mgandalf | 2011-05-13 15:05:56 -0400 (Fri, 13 May 2011) | 1 line
  
  - Add LUN 0 warning.
........
  r3455 | mgandalf | 2011-05-13 15:21:16 -0400 (Fri, 13 May 2011) | 1 line
  
  - Fix a small type.
........
  r3456 | bvassche | 2011-05-16 14:25:33 -0400 (Mon, 16 May 2011) | 1 line
  
  scstadmin/Makefile: verify whether the Perl module ExtUtils::MakeMaker has been installed before trying to install scstadmin itself. Based on a suggestion by Hiroyuki Sato.
........
  r3457 | bvassche | 2011-05-17 15:28:56 -0400 (Tue, 17 May 2011) | 3 lines
  
  Refined ALUA documentation:
  - Added pointer to information about associating iSCSI targets with network interfaces.
  - Added information about configuring ALUA multipath on a Linux initiator.
........
  r3458 | vlnb | 2011-05-17 20:46:37 -0400 (Tue, 17 May 2011) | 3 lines
  
  Fix for double scst_check_local_events() call crash on commands processing path
........
  r3459 | vlnb | 2011-05-17 21:22:22 -0400 (Tue, 17 May 2011) | 3 lines
  
  Regenerated scst_exec_req_fifo patches with fix for memory leak on errors processing path discovered and fixed by Steve Corbin <steve.corbin@virtualcomputer.com>
........
  r3460 | vlnb | 2011-05-18 17:45:09 -0400 (Wed, 18 May 2011) | 3 lines
  
  Some more TM cleanups/improvements
........
  r3461 | vlnb | 2011-05-18 17:50:01 -0400 (Wed, 18 May 2011) | 3 lines
  
  Blocked commands should not pass again through order checks
........
  r3462 | vlnb | 2011-05-19 20:52:34 -0400 (Thu, 19 May 2011) | 3 lines
  
  Update for 2.6.39
........
  r3463 | bvassche | 2011-05-20 06:45:56 -0400 (Fri, 20 May 2011) | 1 line
  
  Removed spaces in front of tabs.
........
  r3464 | bvassche | 2011-05-20 07:13:07 -0400 (Fri, 20 May 2011) | 1 line
  
  Made it possible for generate-kernel-patch to evaluate all LINUX_VERSION_CODE statements.
........
  r3465 | bvassche | 2011-05-20 12:38:57 -0400 (Fri, 20 May 2011) | 1 line
  
  Added remaining files necessary for supporting 2.6.39 (these are copies of the 2.6.38 equivalents).
........
  r3466 | vlnb | 2011-05-20 15:09:45 -0400 (Fri, 20 May 2011) | 3 lines
  
  On NEED_THREAD current function should be immediately finished
........
  r3471 | bvassche | 2011-05-22 05:52:53 -0400 (Sun, 22 May 2011) | 1 line
  
  Added kernel version 2.6.39.
........
  r3472 | vlnb | 2011-05-23 15:24:41 -0400 (Mon, 23 May 2011) | 3 lines
  
  Docs about how to migrate from the deprecated ib_srpt_target_X layout updated 
........
  r3474 | vlnb | 2011-05-24 20:25:11 -0400 (Tue, 24 May 2011) | 2 lines
  
  ChangeLogs updates
........
  r3476 | bvassche | 2011-05-25 06:16:58 -0400 (Wed, 25 May 2011) | 1 line
  
  Update kernel versions.
........
  r3477 | bvassche | 2011-05-25 11:12:40 -0400 (Wed, 25 May 2011) | 1 line
  
  Reverted r3476 because the relevant kernel patches haven't been mirrored yet.
........
  r3478 | vlnb | 2011-05-25 15:59:38 -0400 (Wed, 25 May 2011) | 3 lines
  
  Fix crash if /var/lib/scst/pr not found
........
  r3480 | bvassche | 2011-05-26 14:26:41 -0400 (Thu, 26 May 2011) | 1 line
  
  scstadmin/Makefile robustness improvements for the "install" target
........
  r3483 | bvassche | 2011-05-27 06:15:41 -0400 (Fri, 27 May 2011) | 1 line
  
  Reverted r3477.
........
  r3484 | bvassche | 2011-05-27 06:33:59 -0400 (Fri, 27 May 2011) | 1 line
  
  Removed a superfluous line.
........
  r3488 | bvassche | 2011-05-28 06:37:46 -0400 (Sat, 28 May 2011) | 1 line
  
  iSCSI-SCST builds again on RHEL 5.
........
  r3489 | bvassche | 2011-05-28 06:59:27 -0400 (Sat, 28 May 2011) | 4 lines
  
  scst_local/procfs bug fix: don't include <scst_const.h> before <scst.h> or
  SCST_VERSION_STRING will be incorrect because it gets defined before
  CONFIG_SCST_PROC is defined.
........
  r3490 | bvassche | 2011-05-28 07:00:35 -0400 (Sat, 28 May 2011) | 4 lines
  
  scst_local/procfs bug fix: don't include <scst_const.h> before <scst.h> or
  SCST_VERSION_STRING will be incorrect because it gets defined before
  CONFIG_SCST_PROC is defined.
........
  r3492 | bvassche | 2011-06-01 02:32:47 -0400 (Wed, 01 Jun 2011) | 1 line
  
  ib_srpt: Coding style fixes
........
  r3493 | bvassche | 2011-06-01 02:39:49 -0400 (Wed, 01 Jun 2011) | 1 line
  
  scst_local: Rearranged a preprocessor directive such that generate-kernel-patch can expand it.
........
  r3494 | bvassche | 2011-06-01 02:57:50 -0400 (Wed, 01 Jun 2011) | 1 line
  
  scst_sysfs.c: Convert spaces to tabs.
........
  r3495 | bvassche | 2011-06-01 02:59:40 -0400 (Wed, 01 Jun 2011) | 1 line
  
  Move spaces in long #warning/#error lines to the end of the previous line to shut up checkpatch.
........
  r3496 | bvassche | 2011-06-01 03:00:48 -0400 (Wed, 01 Jun 2011) | 1 line
  
  qla2x00t: get rid of checkpatch complaints about spaces at the start of a line.
........
  r3497 | bvassche | 2011-06-01 03:19:12 -0400 (Wed, 01 Jun 2011) | 1 line
  
  iscsi-scst: get rid of two "suspect code indent for conditional statements" checkpatch complaints.
........
  r3498 | bvassche | 2011-06-01 04:03:32 -0400 (Wed, 01 Jun 2011) | 1 line
  
  iSCSI-SCST: only define __packed for those kernels versions that do not have a definition for __packed.
........
  r3499 | bvassche | 2011-06-01 04:04:56 -0400 (Wed, 01 Jun 2011) | 1 line
  
  scst_local: get rid of a checkpatch complaint for the procfs build.
........
  r3500 | bvassche | 2011-06-01 06:40:07 -0400 (Wed, 01 Jun 2011) | 1 line
  
  Use __packed instead of __attribute__((packed)).
........
  r3503 | bvassche | 2011-06-01 12:55:15 -0400 (Wed, 01 Jun 2011) | 1 line
  
  Corrected t10_dev_id and usn documentation.
........
  r3504 | vlnb | 2011-06-01 12:58:06 -0400 (Wed, 01 Jun 2011) | 3 lines
  
   - Let's always do extraclean on Makefiles modifications, because they can affect data layout in header files, which could not be detected by all target drivers/dev handlers makes
   - Cleanups
........
  r3506 | bvassche | 2011-06-01 13:26:09 -0400 (Wed, 01 Jun 2011) | 1 line
  
  ib_srpt: removed thread start/stop messages.
........
  r3507 | vlnb | 2011-06-01 14:22:52 -0400 (Wed, 01 Jun 2011) | 3 lines
  
  Remove TAGS file on extraclean
........
  r3510 | vlnb | 2011-06-01 19:14:04 -0400 (Wed, 01 Jun 2011) | 3 lines
  
  Fix possible return 0 in sysfs write to threads_pool_type attribute functions
........
  r3512 | bvassche | 2011-06-02 06:04:22 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: Fixed srp_max_rsp_size kernel module parameter description.
........
  r3513 | bvassche | 2011-06-02 09:27:10 -0400 (Thu, 02 Jun 2011) | 1 line
  
  scst: Update ALUA documentation
........
  r3514 | bvassche | 2011-06-02 10:27:17 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: Eliminate srpt_rdma_ch.wait_queue
........
  r3515 | bvassche | 2011-06-02 10:35:14 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: Eliminate srpt_rdma_ch.processing_compl.
........
  r3516 | bvassche | 2011-06-02 10:54:51 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: follow-up for r3515.
........
  r3517 | bvassche | 2011-06-02 10:55:54 -0400 (Thu, 02 Jun 2011) | 1 line
  
  Only #include <linux/version.h> if necessary.
........
  r3518 | bvassche | 2011-06-02 12:04:13 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: Builds again on RHEL 5.x
........
  r3519 | bvassche | 2011-06-02 14:21:39 -0400 (Thu, 02 Jun 2011) | 1 line
  
  Made ib_srpt build with OFED 1.5.3.1.
........
  r3520 | bvassche | 2011-06-02 15:12:29 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: Another follow-up for r3515.
........
  r3521 | bvassche | 2011-06-02 15:13:06 -0400 (Thu, 02 Jun 2011) | 1 line
  
  ib_srpt: Removed a superfluous if-statement. This is a micro-optimization.
........
  r3522 | bvassche | 2011-06-03 03:03:31 -0400 (Fri, 03 Jun 2011) | 1 line
  
  ib_srpt: Silence a compiler warning.
........
  r3523 | vlnb | 2011-06-03 16:29:48 -0400 (Fri, 03 Jun 2011) | 3 lines
  
  Cleanup
........
  r3525 | bvassche | 2011-06-04 08:24:41 -0400 (Sat, 04 Jun 2011) | 1 line
  
  Reverted r3521.
........
  r3526 | bvassche | 2011-06-04 08:33:57 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Remove a superfluous break statement
........
  r3527 | bvassche | 2011-06-04 08:36:03 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Introduce the function srpt_set_ch_state_to_draining()
........
  r3528 | bvassche | 2011-06-04 08:37:09 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Revert r3522.
........
  r3529 | bvassche | 2011-06-04 09:45:16 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Update test plan
........
  r3530 | bvassche | 2011-06-04 10:06:12 -0400 (Sat, 04 Jun 2011) | 2 lines
  
  ib_srpt: Eliminate a kmalloc(GFP_ATOMIC) call
........
  r3531 | bvassche | 2011-06-04 10:27:45 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Rework channel closing
........
  r3532 | bvassche | 2011-06-04 10:32:22 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Fix a (hard to trigger) race with regard to SRP login.
........
  r3533 | bvassche | 2011-06-04 10:37:56 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Reduce number of context switches during I/O for mode thread=1.
........
  r3534 | bvassche | 2011-06-04 13:48:14 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Add more TRACE_ENTRY()/TRACE_EXIT() macros
........
  r3535 | bvassche | 2011-06-04 13:50:19 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Remove "thread" kernel module parameter and keep thread=1 behavior - the other two modes could cause soft lockup complaints
........
  r3536 | bvassche | 2011-06-04 13:50:54 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Relax I/O context locking
........
  r3537 | bvassche | 2011-06-04 13:51:46 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Remove srpt_pending_cmd_timeout() because it is never invoked
........
  r3538 | bvassche | 2011-06-04 14:10:45 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Build fix for non-RHEL pre-2.6.25 kernels.
........
  r3539 | bvassche | 2011-06-04 14:17:01 -0400 (Sat, 04 Jun 2011) | 1 line
  
  ib_srpt: Convert a PRINT_INFO() statement into a TRACE_DBG() statement
........
  r3540 | bvassche | 2011-06-05 05:56:58 -0400 (Sun, 05 Jun 2011) | 1 line
  
  ib_srpt: Remove an unused variable
........
  r3541 | bvassche | 2011-06-05 05:57:35 -0400 (Sun, 05 Jun 2011) | 1 line
  
  ib_srpt: Fix a recently introduced leak in an error path
........
  r3542 | bvassche | 2011-06-05 05:58:03 -0400 (Sun, 05 Jun 2011) | 1 line
  
  ib_srpt: Add a BUG_ON() statement
........
  r3543 | bvassche | 2011-06-05 05:58:32 -0400 (Sun, 05 Jun 2011) | 1 line
  
  ib_srpt: Fix a spelling error
........
  r3544 | bvassche | 2011-06-05 05:59:17 -0400 (Sun, 05 Jun 2011) | 1 line
  
  ib_srpt: Simplify IB CM code
........
  r3545 | bvassche | 2011-06-05 06:00:57 -0400 (Sun, 05 Jun 2011) | 1 line
  
  ib_srpt: Fix a recently introduced RHEL 5 / CentOS 5 deadlock triggered by initiator logout
........
  r3546 | vlnb | 2011-06-06 17:04:04 -0400 (Mon, 06 Jun 2011) | 4 lines
  
  Set data_out_in_data_receiving for preliminary completed commands as
  well to prevent releasing them too early in iscsi_check_tm_data_wait_timeouts()
........
  r3549 | vlnb | 2011-06-06 17:32:16 -0400 (Mon, 06 Jun 2011) | 6 lines
  
   - Return no residual if expected values not set instead of BUG_ON(),
  because this is valid situation for some preliminary comleted commands.
  
   - Cleanup
........
  r3552 | vlnb | 2011-06-07 14:08:58 -0400 (Tue, 07 Jun 2011) | 3 lines
  
  Modified patch from Bart Van Assche <bvanassche@acm.org> fixing errors reporting
........
  r3557 | bvassche | 2011-06-08 14:05:44 -0400 (Wed, 08 Jun 2011) | 1 line
  
  ib_srpt: Update test instructions.
........
  r3558 | bvassche | 2011-06-08 14:13:30 -0400 (Wed, 08 Jun 2011) | 1 line
  
  ib_srpt: Use a spinlock to protect ch->req_lim and ch->req_lim_delta changes instead of using atomics. Reduces the time spent in the ib_srpt_compl thread with a little bit more than 10%.
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3561 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-09 20:45:07 +00:00
Vladislav Bolkhovitin
92713f86cd Initialized experimental merge tracking via "svnmerge" with revisions "1-3383" from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-09 19:53:26 +00:00
Vladislav Bolkhovitin
fa37fa3f1b Merge of the missed commits r3447,3452,3458 from the trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3559 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-08 21:27:00 +00:00