Commit Graph

430 Commits

Author SHA1 Message Date
Bart Van Assche
958579fd8b Automate release archive generation (merge r4676, r4677 and r4679 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-01-06 10:04:11 +00:00
Bart Van Assche
1052aa7bce ib_srpt: Bump version
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-21 12:09:36 +00:00
Bart Van Assche
88a37b7a25 ib_srpt: Avoid that max_compl_time_ms is zero due to an integer overflow (merge r4662 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-21 12:05:36 +00:00
Bart Van Assche
6185ae237c Add kernel 3.7 support (merge r4645..4647 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-12-18 09:45:35 +00:00
Bart Van Assche
7ba44bbc51 ib_srpt: Avoid that module unloading races with closing sessions (merge r4446 from trunk)
Fixed issue:
    
BUG: unable to handle kernel paging request at ffffffffa04dc479
IP: [<ffffffffa04dc479>] 0xffffffffa04dc478
Oops: 0010 [#1] SMP
Pid: 29313, comm: srpt_mlx4_0-2 Tainted: G           O 3.6.0-rc1-debug+ #1
Process srpt_mlx4_0-2
Call Trace:
 [<ffffffff8106254e>] ? kthread+0xae/0xc0
 [<ffffffff81418464>] ? kernel_thread_helper+0x4/0x10
 [<ffffffff8140f080>] ? _raw_spin_unlock_irq+0x30/0x50
 [<ffffffff810983ad>] ? trace_hardirqs_on+0xd/0x10
 [<ffffffff8140f359>] ? retint_restore_args+0xe/0xe
 [<ffffffff810624a0>] ? __init_kthread_worker+0x70/0x70
 [<ffffffff81418460>] ? gs_change+0xb/0xb
Code:  Bad RIP value.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4625 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-23 13:44:26 +00:00
Bart Van Assche
18196379a8 Update for 3.6 kernels (merge r4538 and r4539 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 13:54:51 +00:00
Bart Van Assche
4efdfaf368 nightly build: Add kernel 3.5 build infrastructure (merge r4460 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4572 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-11-03 13:29:38 +00:00
Bart Van Assche
e85893bdf2 ib_srpt README: Fix a typo (merge r4355 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-18 17:32:28 +00:00
Bart Van Assche
dc250d6191 ib_srpt, procfs: Fix a compiler warning introduced in trunk r4260 (merge r4310 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-06-18 16:50:15 +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
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
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
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
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
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
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
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
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
b2754da51f srpt: Update test procedure (merge r4045 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4046 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-01 19:28:18 +00:00
Bart Van Assche
dca262062d ib_srpt: Merge performance improvements and bug fixes from trunk (up to and including r4041).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4042 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-29 14:26:18 +00:00
Bart Van Assche
ecf118d344 ib_srpt: Make change log more detailed (merge r4018 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4019 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-20 15:37:54 +00:00
Bart Van Assche
b7fb0ab1c4 ib_srpt: Add 2.2.0 release notes (merge r4015 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4016 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 19:40:31 +00:00
Bart Van Assche
43d9db9580 ib_srpt: Add support for debug2release etc (merge r3759 and r3760 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4012 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:23:20 +00:00
Bart Van Assche
65ac764067 ib_srpt: Change __constant_cpu_... into cpu_... since the latter are also evaluated at compile time (merge r3803 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4004 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 15:14:12 +00:00
Bart Van Assche
bcf7cfa552 ib_srpt: Increase default value of srp_max_req_size from 2116 to 4148 bytes
(merge r3939 from trunk).


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3994 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:49:12 +00:00
Bart Van Assche
bdbcebf0ec Only include <linux/version.h> if necessary (merge r3517 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3992 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:39:40 +00:00
Bart Van Assche
4d470f0534 iscsi-scst/doc/iscsi-scst-howto.txt: Update because of the scstadmin changes (merge r3582 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@3985 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-15 10:02:31 +00:00
Bart Van Assche
926b0a6159 Add files necessary to run the regression tests against the 3.0 kernel (svn merge -c3783 https://scst.svn.sourceforge.net/svnroot/scst/trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 14:11:50 +00:00
Vladislav Bolkhovitin
dadceece11 Merged revisions 3929 via svnmerge from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk

........
  r3929 | bvassche | 2011-11-17 04:24:12 -0500 (Thu, 17 Nov 2011) | 1 line
  
  regtests: Add files necessary for Linux kernel 3.1
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3972 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-10 04:24:21 +00:00
Bart Van Assche
e0c8c1b249 ib_srpt: Remove an unused struct member (merged r3903 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3913 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-06 10:46:57 +00:00
Bart Van Assche
65c0b7ea2e ib_srpt: Avoid delay when unloading during I/O (merged r3899 and r3900 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-06 10:45:25 +00:00
Bart Van Assche
fe6c9a0a32 ib_srpt: Make srpt_alloc_ioctx_ring() return NULL instead of a dangling
pointer if allocation fails. Reported by Dan Carpenter
<dan.carpenter@oracle.com> on the linux-rdma@vger.kernel.org mailing list.

(Merged r3907 from the trunk.)


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3908 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-04 18:38:01 +00:00
Bart Van Assche
f407c425c0 Reran performance measurements
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-10-08 11:17:37 +00:00