Commit Graph

387 Commits

Author SHA1 Message Date
Bart Van Assche
6fdc0baaaa ib_srpt: Build fix for non-RHEL pre-2.6.25 kernels.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3538 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 18:10:45 +00:00
Bart Van Assche
0239f80a94 ib_srpt: Remove srpt_pending_cmd_timeout() because it is never invoked
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3537 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 17:51:46 +00:00
Bart Van Assche
7d3bd0ee6d ib_srpt: Relax I/O context locking
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3536 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 17:50:54 +00:00
Bart Van Assche
c2bd2e8bf5 ib_srpt: Remove "thread" kernel module parameter and keep thread=1 behavior - the other two modes could cause soft lockup complaints
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3535 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 17:50:19 +00:00
Bart Van Assche
edf466ba9f ib_srpt: Add more TRACE_ENTRY()/TRACE_EXIT() macros
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3534 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 17:48:14 +00:00
Bart Van Assche
bd8b360569 ib_srpt: Reduce number of context switches during I/O for mode thread=1.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3533 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 14:37:56 +00:00
Bart Van Assche
b9f4ee7bc8 ib_srpt: Fix a (hard to trigger) race with regard to SRP login.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3532 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 14:32:22 +00:00
Bart Van Assche
bc913e9258 ib_srpt: Rework channel closing
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3531 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 14:27:45 +00:00
Bart Van Assche
f1beb1d82d ib_srpt: Eliminate a kmalloc(GFP_ATOMIC) call
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3530 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 14:06:12 +00:00
Bart Van Assche
b86ea97241 ib_srpt: Update test plan
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3529 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 13:45:16 +00:00
Bart Van Assche
316ba64801 ib_srpt: Revert r3522.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3528 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 12:37:09 +00:00
Bart Van Assche
32725f9048 ib_srpt: Introduce the function srpt_set_ch_state_to_draining()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3527 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 12:36:03 +00:00
Bart Van Assche
554dad3475 ib_srpt: Remove a superfluous break statement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3526 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 12:33:57 +00:00
Bart Van Assche
0e435ce468 Reverted r3521.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3525 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-04 12:24:41 +00:00
Bart Van Assche
5736aadf0d ib_srpt: Silence a compiler warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3522 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-03 07:03:31 +00:00
Bart Van Assche
bdc209d520 ib_srpt: Removed a superfluous if-statement. This is a micro-optimization.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3521 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 19:13:06 +00:00
Bart Van Assche
073a504cd3 ib_srpt: Another follow-up for r3515.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3520 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 19:12:29 +00:00
Bart Van Assche
1395c41108 ib_srpt: Builds again on RHEL 5.x
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3518 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 16:04:13 +00:00
Bart Van Assche
864b679c38 Only #include <linux/version.h> if necessary.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3517 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 14:55:54 +00:00
Bart Van Assche
b88aee7393 ib_srpt: follow-up for r3515.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3516 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 14:54:51 +00:00
Bart Van Assche
177a6c915e ib_srpt: Eliminate srpt_rdma_ch.processing_compl.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3515 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 14:35:14 +00:00
Bart Van Assche
1bbda55d42 ib_srpt: Eliminate srpt_rdma_ch.wait_queue
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3514 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 14:27:17 +00:00
Bart Van Assche
d3de2b58ae ib_srpt: Fixed srp_max_rsp_size kernel module parameter description.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 10:04:22 +00:00
Bart Van Assche
37228bf6d1 ib_srpt: removed thread start/stop messages.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3506 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 17:26:09 +00:00
Bart Van Assche
dc65372a4d ib_srpt: Coding style fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3492 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 06:32:47 +00:00
Vladislav Bolkhovitin
805f38cd4f 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/trunk@3472 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-23 19:24:41 +00:00
Bart Van Assche
85bcb19a36 Added remaining files necessary for supporting 2.6.39 (these are copies of the 2.6.38 equivalents).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3465 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 16:38:57 +00:00
Vladislav Bolkhovitin
802838d27b HCAs GUIDs should be used as target names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3397 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-20 22:51:51 +00:00
Bart Van Assche
07dffb9e8f Reverted because untested.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3393 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 17:54:54 +00:00
Vladislav Bolkhovitin
caffffcf0c HCAs GUIDs should be used as target names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3388 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 15:36:32 +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
Bart Van Assche
cd984c6f82 ib_srpt: Fix a procfs-only compiler warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3017 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-11 09:58:37 +00:00
Bart Van Assche
8e0e19c9de ib_srpt (sysfs): Converted login_info from a device attribute into a tgt attribute.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3003 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-10 09:47:29 +00:00
Bart Van Assche
17cb105213 Made sure that srpt_release() doesn't oops if srpt_add_one() fails after
having registered the target and before the srpt_post_recv() loop started.

Reported-by: Frank Zago <fzago@systemfabricworks.com>.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2963 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-07 16:59:19 +00:00