Bart Van Assche
8afd4e9d4e
ib_srpt: Reduce the Last WQE wait time
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3866 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 07:38:37 +00:00
Vladislav Bolkhovitin
94418431ce
Patch from Abhilash Sankar <Abhilash.S@hcl.com> with some fixes
...
Issue:
------------
The DevRegAttribute is sending a different Source Attribute (ISCSI name) which
represents the Storage Node for each target. So Microsoft isns server considers
the last request as the storage node and doesn't discover the previous targets.
Root Cause
----------------
Function ISNS_FUNC_DEV_ATTR_REG
Target A
Source attribute
ISCSI-Name = <IQN A Name>
Operating Attribute
ISCSI-Name = <IQN A Name>
Flags
Replace Access = 1
Target B
Source attribute
ISCSI-Name = <IQN B Name>
Operating Attribute
ISCSI-Name = <IQN B Name>
Replace Access = 1
So as per the request format Microsoft isns Server always takes the last target
as the source node. and register the same. Hence it doesn't discover the
targets other than last one. The Source Attribute has to be fixed for all targets. It
would be better if we use the first target iscsi name (rather than the last target
iscsi name) as source attribute iscsi name to represent the storage node.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3863 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 00:58:15 +00:00
Bart Van Assche
aa7647b0bb
Fix a typo introduced in r3858
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3859 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:38:09 +00:00
Bart Van Assche
191f40304d
ib_srpt: Make sure that rmmod finishes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3858 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:24:37 +00:00
Bart Van Assche
ff60ad9a52
ib_srpt: Don't wait forever for the Last WQE event
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3857 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:23:36 +00:00
Bart Van Assche
c3c23dcb7e
ib_srpt: Make srpt_release_sdev() logging more informative
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3856 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:22:13 +00:00
Bart Van Assche
97547c2f1d
ib_srpt: Relax a WARN_ON() statement such that it doesn't fire needlessly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3855 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:21:07 +00:00
Bart Van Assche
5f0326aa3d
ib_srpt: Mask off AGN_MASK bits before invoking ib_cm_listen()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3854 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:19:45 +00:00
Bart Van Assche
40c8c3ae0a
ib_srpt: Make error reporting more detailed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3853 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-17 15:17:41 +00:00
Vladislav Bolkhovitin
29ebc5ba12
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3850 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-08 02:17:01 +00:00
Bart Van Assche
5a4ee2342b
ib_srpt: Remove to-do list because outdated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3847 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-07 19:03:06 +00:00
Bart Van Assche
bde71b8cff
scst_vdisk, thin provisioning: unmap the largest range possible even if the
...
upper bound of the range is not a multiple of PAGE_CACHE_SIZE. This is a
follow-up for r3799 and removes the PRINT_ERROR() statement introduced in that
revision.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3844 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-07 18:52:46 +00:00
Bart Van Assche
b5865c7969
/etc/init.d: When installing SCST 3.0, disable and remove the now obsolete iscsi-scst and qla2x00t init scripts.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3843 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-04 11:57:39 +00:00
Vladislav Bolkhovitin
43d576aa48
Changelogs updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3842 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 20:15:42 +00:00
Vladislav Bolkhovitin
370735f023
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3841 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 19:47:41 +00:00
Vladislav Bolkhovitin
29a71a91e5
Update tag for 2.1.0 release
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3838 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 19:04:24 +00:00
Vladislav Bolkhovitin
960239ed1e
- 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/trunk@3833 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-01 18:22:27 +00:00
Bart Van Assche
2eb5d1ea6c
nightly build: kernel version updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3832 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-31 18:11:21 +00:00
Vladislav Bolkhovitin
1da1aa9dd4
Fix possible crash on rel_tgt_id set on transports without is_target_enabled() defined.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3831 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-25 18:08:45 +00:00
Vladislav Bolkhovitin
0eb108577a
Suppoert for rotational attribute added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3830 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-24 15:30:59 +00:00
Vladislav Bolkhovitin
978e073a28
Mode pages cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-24 00:20:06 +00:00
Bart Van Assche
648920e86b
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 >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3828 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-22 19:19:56 +00:00
Bart Van Assche
706407c334
/etc/init.d/scst: Let "scst start" proceed even if the config file is missing
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3827 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-22 19:09:59 +00:00
Bart Van Assche
24fc29b9d6
Follow-up for r3816: make sure that /etc/init.d/scst restart works again
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3826 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-21 08:21:31 +00:00
Bart Van Assche
08a80a59bc
documentation, spelling: Change phisical into physical
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3825 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-20 14:04:52 +00:00
Vladislav Bolkhovitin
77fa083dbb
Fix for one more forgotten initialization in preparing internal commands spotted by kordex@gmail.com
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3824 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-19 23:55:31 +00:00
Vladislav Bolkhovitin
1d2dedddcc
Update of SCST_Gentoo_HOWTO.txt from Willem Boterenbrood <w.boterenbrood@gmail.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3823 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-19 23:20:22 +00:00
Bart Van Assche
412ef99c73
nightly build config: Update to kernel version 3.0.3
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3822 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-19 09:18:44 +00:00
Bart Van Assche
c9bd29a8b9
ib_srpt: Clean up tracing statements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3821 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-18 09:08:22 +00:00
Vladislav Bolkhovitin
c470a43c5e
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>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3820 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-18 00:39:13 +00:00
Vladislav Bolkhovitin
5503fb0646
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().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3819 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-18 00:27:12 +00:00
Vladislav Bolkhovitin
8672c1d5a0
Fix for forgotten devt initialization in preparing internal commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3818 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-18 00:17:06 +00:00
Bart Van Assche
ea68c9a775
nightly build config: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3817 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-17 14:51:48 +00:00
Bart Van Assche
34714117d1
/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.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3816 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-17 08:27:18 +00:00
Bart Van Assche
832968b65e
ib_srpt: Builds again on 32-bit systems
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3815 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-17 08:21:08 +00:00
Bart Van Assche
50c2ef2e01
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.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3814 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-17 07:51:08 +00:00
Bart Van Assche
de5c72d569
nightly build: remove "pcbart" config, rename "cellbuzz" into "nightly" and restore previously removed kernel versions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-17 06:58:21 +00:00
Bart Van Assche
d554d56423
scripts/specialize-patch: Make sure that checkpatch doesn't complain about space after operator \!
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3812 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 12:22:31 +00:00
Bart Van Assche
de8bc79ae0
scripts/filter-trace-entry-exit: Filter out "return;" statements at the end of a function that are not preceeded by a label.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3811 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 12:20:25 +00:00
Bart Van Assche
78d62e7dd1
scripts/specialize-patch: Only emit "g1" debug output if debugging has been enabled.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3810 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 11:48:48 +00:00
Bart Van Assche
9455613488
scripts/specialize-patch: Update comments next to #else and #endif directives.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3809 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 11:26:59 +00:00
Bart Van Assche
8f48d8d7e9
Follow-up for r3807: make the hunk headers match again.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3808 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 08:32:23 +00:00
Bart Van Assche
803bae6fb8
scripts/specialize-patch: Remove #elif 0 sections from the output
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3807 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-16 07:47:32 +00:00
Bart Van Assche
49147b3d8d
Change __constant_cpu_... into cpu_... since the latter is also evaluated at compile time.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3806 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 19:03:03 +00:00
Bart Van Assche
0042639266
/etc/init.d/scst: Port to Gentoo
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3805 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 16:13:33 +00:00
Bart Van Assche
eb24966570
scst_local: Fix a recently introduced compiler warning.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3804 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 15:51:17 +00:00
Bart Van Assche
0e26a6c7a5
ib_srpt: Change __constant_cpu_... into cpu_... since the latter are also evaluated at compile time
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3803 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 08:48:42 +00:00
Bart Van Assche
4eebec2e1b
Update according to new kernel.org directory tree structure
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3802 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-14 08:07:38 +00:00
Bart Van Assche
72060a5ec5
Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3801 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-13 14:10:16 +00:00
Vladislav Bolkhovitin
632b6beeeb
Update of SCST_Gentoo_HOWTO.txt to SCST 2.x. Thanks to Willem Boterenbrood <w.boterenbrood@gmail.com>!
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3800 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-08-09 01:04:57 +00:00