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
Bart Van Assche
0ddfd33bda
ib_srpt: Avoid that the cleanup code invoked after rejecting a new initiator connection triggers a race condition (Merge r3877 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3881 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-27 18:29:20 +00:00
Bart Van Assche
c014e007b6
ib_srpt: Remove a superfluous __srpt_close_ch() call (Merged r3872 from trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-27 16:57:38 +00:00
Bart Van Assche
15f48dd4ef
ib_srpt: Follow-up for r3873 (for modes thread == 0 or thread == 2 only)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3874 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-19 18:31:51 +00:00
Bart Van Assche
d8c5e561a8
ib_srpt: Reenable session unregistration if thread != 1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3873 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 13:03:01 +00:00
Bart Van Assche
3bc77c2236
ib_srpt: Fix "rejected SRP_LOGIN_REQ because creating a new RDMA channel failed"
...
Fix two race conditions that could trigger this failure:
- Completion thread not woken up after channel state change.
- Reception of Last WQE event before the channel queue pair was reset.
(Merged r3869 and r3870 from the trunk.)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3871 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 11:57:46 +00:00
Bart Van Assche
9993f198ae
ib_srpt: Reduce Last WQE wait time (merge r3866 and 3867 from trunk)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3868 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-09-18 08:18:53 +00:00
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
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
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
f95ed772f8
Merge of the trunk's r3472:
...
Docs about how to migrate from the deprecated ib_srpt_target_X layout updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3473 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-23 19:26:04 +00:00
Vladislav Bolkhovitin
0bfa54bfb8
Merge the trunk's rrs 3438:3445, 3447:3450, 3452:3456 and 3458:3466
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 23:02:07 +00:00
Vladislav Bolkhovitin
6084197aa1
Merge of the trunk's r3397:
...
HCAs GUIDs should be used as target names
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3398 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-20 22:53:30 +00:00
Bart Van Assche
8072c7b835
svn merge -c3393 https://scst.svn.sourceforge.net/svnroot/scst/trunk
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-17 18:18:07 +00:00
Vladislav Bolkhovitin
5688fa63f6
Stable 2.1 branch added
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3390 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 16:06:17 +00:00
Bart Van Assche
1f049c1f8c
Replaced patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 14:31:37 +00:00
Bart Van Assche
8af652f456
Added more backports.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 14:22:49 +00:00
Bart Van Assche
f427ce220c
Corrected kernel-2.6.29-pre-cflags.patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 11:53:07 +00:00
Bart Van Assche
522c9bac67
Corrected kernel-2.6.32-pre-cflags.patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3373 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 11:47:08 +00:00
Bart Van Assche
f69a0796b3
Added copies of the pre-cflags patch.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3371 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 10:51:09 +00:00
Bart Van Assche
c4ec345017
Added to repository.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-09 12:55:37 +00:00
Bart Van Assche
0b00284465
Documented the ib_srp login string.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 19:03:47 +00:00
Bart Van Assche
0921e9c1da
Avoid that the compiler complains about unused variables.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3342 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 17:49:41 +00:00
Bart Van Assche
e45cda7c66
Reverted r3330 because it was committed before having been discussed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 06:48:53 +00:00
Vladislav Bolkhovitin
13b8766a6a
Experimental patch to allow HCAs GUIDs be used as target names
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 19:50:12 +00:00
Vladislav Bolkhovitin
4539005d7c
Patch from Alexey Obitotskiy <alexeyo1@open-e.com> making get_initiator_port_transport_id() more flexible
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 14:30:01 +00:00
Vladislav Bolkhovitin
f518cd150c
Let's remove *.orig and *.rej files on extraclean
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 20:07:23 +00:00
Bart Van Assche
074479ba16
ib_srpt: Fix potential out-of-bounds array access
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-26 09:48:58 +00:00
Bart Van Assche
d00aaf6732
ib_srpt: Handle fatal errors properly in srpt_xmit_response()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-24 17:45:22 +00:00
Bart Van Assche
8d0406a0cb
ib_srpt: Reformatted one statement to keep checkpatch happy.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:15:01 +00:00
Bart Van Assche
5fe037e5b9
Updated my e-mail address in copyright statements and README files.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Bart Van Assche
36d3ac3059
ib_srpt: Fixed a bug in the RDMA channel disconnection processing code.
...
(Merged r3142 from the sysfs-tree-changes branch.)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-19 13:29:08 +00:00