Bart Van Assche
a74fa48536
Fix a kernel 3.4 compiler warning (merge r4344 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-18 12:35:35 +00:00
Bart Van Assche
463c93fe6e
Add kernel 3.4 support (merge r4320 and r4321 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-18 12:24:40 +00:00
Vladislav Bolkhovitin
cdbfb0e1a9
Merge of the 2.1 branch's r4346:
...
Fix for http://sourceforge.net/mailarchive/forum.php?thread_name=4FD72E89.2020807%40open-e.com&forum_name=scst-devel
Patch from Sergey Tashkinov <sergeyt1@open-e.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-13 19:02:12 +00:00
Vladislav Bolkhovitin
543a09ce1b
Fix for http://sourceforge.net/mailarchive/forum.php?thread_name=4FD72E89.2020807%40open-e.com&forum_name=scst-devel
...
Patch from Sergey Tashkinov <sergeyt1@open-e.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@4346 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-13 18:59:13 +00:00
Bart Van Assche
e30d0cbe0c
ib_srpt: Make sure that a DREP is sent to the initiator if a DREQ is received while a session is being closed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-23 07:43:37 +00:00
Bart Van Assche
550d50a7a1
ib_srpt: Adjust source code indentation (this is a whitespace-only change)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-07 14:58:32 +00:00
Bart Van Assche
d7922d5fb3
ib_srpt: Update copyright statement
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-07 14:56:03 +00:00
Bart Van Assche
03223edf88
ib_srpt: Move the target port enabled check back (merge r4284 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-04 17:25:14 +00:00
Bart Van Assche
8e8018571f
ib_srpt: Test earlier during login whether a port has been disabled (merge r4282 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-04 16:06:08 +00:00
Bart Van Assche
4f794143fb
ib_srpt: Fix a few (theoretical ?) race conditions (merge r4278 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4280 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-03 14:22:41 +00:00
Bart Van Assche
21c4f975c8
ib_srpt: Remove a superfluous test (merge r4212 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-03 14:06:17 +00:00
Bart Van Assche
be0b4d640c
ib_srpt: Handle thread creation failure properly (merge r4262:4270 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4271 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-05-02 15:32:26 +00:00
Vladislav Bolkhovitin
ee023587dd
vcdrom: Don't oops if attaching a CD-ROM fails
...
If no medium is inserted in /dev/sr0, starting SCST with the config
below triggers a kernel oops:
HANDLER vcdrom {
DEVICE vcdrom {
filename /dev/sr0
}
}
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
with some improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4249 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-30 19:23:33 +00:00
Bart Van Assche
992ea282c8
ib_srpt: Process all I/O on thread context. Avoids that "HW pending for too long" messages are generated if writing takes long (merge r4219 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4245 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-27 08:00:32 +00:00
Bart Van Assche
89a3e636c5
ib_srpt: Close active sessions when disabling a target (merge r4204 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-26 12:50:50 +00:00
Bart Van Assche
e5a1218aa0
ib_srpt: Process chained sg lists correctly (merge r4235 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-26 12:43:22 +00:00
Bart Van Assche
a271a19e2e
fcst: merge r4177:4194 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4232 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 10:06:41 +00:00
Bart Van Assche
3ee53839eb
fcst: Builds again on kernel 3.0 and before (merge r4107 and r4108 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4231 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 10:04:37 +00:00
Bart Van Assche
cc5422a900
fcst: Introduce kfree_rcu() (merge r4106 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4230 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 10:01:31 +00:00
Bart Van Assche
a44c64c221
nightly build: Add 3.3 support patches (merge r4167 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 09:21:26 +00:00
Bart Van Assche
e277c6a32d
Port to kernel 3.3 (merge r4164 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 09:19:06 +00:00
Bart Van Assche
d4b02d4a5f
ib_srpt: Update an error message (merge r4222 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4227 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 09:00:14 +00:00
Bart Van Assche
04959d6c91
ib_srpt: Make sure that srpt_cm_req_recv() returns a negative value if login is refused (merged r4221 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-25 08:58:34 +00:00
Bart Van Assche
492a231d04
scripts: Merge r4204:4206 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4207 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-12 12:21:30 +00:00
Bart Van Assche
3535eada10
scripts: Merge r3737:4204 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4205 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-12 11:50:41 +00:00
Bart Van Assche
b3d8507430
ib_srpt: Workaround for an openSUSE 12.1 compiler bug (see also http://bugzilla.novell.com/show_bug.cgi?id=756235 - merged r4201 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-10 15:28:13 +00:00
Bart Van Assche
0735535126
ib_srpt: Make sure that pre-RTU requests are processed before post-RTU requests (merge trunk r4200).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-10 15:07:37 +00:00
Bart Van Assche
7caca49529
ib_srpt: Update ChangeLog (merged r4197 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-07 09:15:33 +00:00
Bart Van Assche
6734a08da5
ib_srpt: Disallow new logins during module removal (merged r4146 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4196 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-07 08:53:57 +00:00
Bart Van Assche
9869575cc2
ib_srpt: Unregister sessions properly / fix RTU race (merged r4192 and r4193
...
from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4195 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-04-07 08:49:41 +00:00
Bart Van Assche
0d8b8df7e9
ib_srpt: Fix QP use-after-free triggered by SRP logout (merge r4139 from trunk).
...
Fixed this by destroying cm_id before QP instead of after. The following
messages were logged if the use-after-free occurred:
mlx4_core 0000:08:00.0: command 0x19 failed: fw status = 0x9
ib_srpt: ***ERROR***: srpt_init_ch_qp() failed (-9)
ib_srpt: ***ERROR***: rejected SRP_LOGIN_REQ because creating a new RDMA channel failed.
ib_srpt: Rejecting login with reason 0x10001
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4140 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-18 10:43:05 +00:00
Bart Van Assche
ffcf6bc9a1
scstadmin: Replace scstadmin/scstadmin by a soft link if it is a regular file. This is a workaround for a bug in the "Download tarball" functionality of the SourceForge website (merge r4129 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-15 10:03:54 +00:00
Bart Van Assche
d663c8d47d
SCST core and iSCSI-SCST: Port to RHEL / CentOS / SL 5.7 (merged r4111 and r4112 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4126 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-13 19:23:52 +00:00
Bart Van Assche
55ea8b70c1
iscsi-scstd: Make sure that the buffer allocated for nl_read() is large enough (merged r4109 and r4110 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-13 19:22:01 +00:00
Bart Van Assche
985d0e7c4d
fcst: Add missing #include <linux/module.h> (merged r4065 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4124 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-02-13 19:18:39 +00:00
Vladislav Bolkhovitin
ccffee2682
Version updated to 2.2.1-pre
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-26 05:43:06 +00:00
Vladislav Bolkhovitin
c2cba76bcd
Merge of the trunk's r4017:
...
Improve release mode TM logging to simplify imvestigations
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-26 05:23:25 +00:00
Bart Van Assche
4e34d7a4f4
ib_srpt: Update version
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4098 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 21:02:44 +00:00
Bart Van Assche
e3f9a946b6
Make ib_srpt build again
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4097 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 20:50:59 +00:00
Bart Van Assche
b1321b7d11
Add kernel 3.2 support / iSCSI-SCST netlink change (merge r4077, r4078 and r4080 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4096 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 20:10:27 +00:00
Bart Van Assche
3c7a7fc28d
ib_srpt: Prepare 2.2.0 release
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4095 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 19:22:40 +00:00
Bart Van Assche
a3fe2c4a59
scst_local: Fix a recently introduced compiler warning (merged r3804 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4094 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 19:18:10 +00:00
Bart Van Assche
74628b2348
Rename/add support files in scst/kernel/rhel (merged parts of r3890 from trunk that had not yet been merged to the 2.2 branch).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4093 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 19:12:52 +00:00
Bart Van Assche
90cde839c1
iSCSI-SCST: Use more systematic names for the RHEL put_page_callback patches (merged r3837:4064 from trunk/iscsi-scst/kernel/patches/rhel)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4092 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 18:55:30 +00:00
Bart Van Assche
110af55391
/etc/init.d/scst: Clarify comments (merged r3996 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-25 18:47:35 +00:00
Bart Van Assche
6ae4c206e4
ib_srpt: Merge r4083:4086 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4087 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-21 18:17:38 +00:00
Bart Van Assche
d8209bd0be
ib_srpt: Update ChangeLog
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-21 17:56:48 +00:00
Bart Van Assche
3b2db8bb5a
ib_srpt: Merge r4045:4083 from trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4084 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-21 17:54:32 +00:00
Bart Van Assche
1f65365675
scstadmin: Add ISCSID_OPTIONS variable in /etc/default/scst (merged r4066 and r4073 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4074 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-16 10:26:22 +00:00
Bart Van Assche
98fa85ce0e
Merge scripts changes because of kernel.org reorganization from trunk (svn merge -r4047:4055 ../../scst/scripts)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4056 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-09 13:48:00 +00:00