Commit Graph

2666 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
Vladislav Bolkhovitin 8cfb816e16 Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3523 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-03 20:29:48 +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 ea8e30581e Made ib_srpt build with OFED 1.5.3.1.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3519 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 18:21:39 +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 2951e5a306 scst: Update ALUA documentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3513 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-02 13:27:10 +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
Vladislav Bolkhovitin c0d7246344 Fix possible return 0 in sysfs write to threads_pool_type attribute functions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3510 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 23:14:04 +00:00
Vladislav Bolkhovitin 14e7b436bd Remove TAGS file on extraclean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3507 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 18:22:52 +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
Vladislav Bolkhovitin 6012710767 - Let's always do extraclean on Makefiles modifications, because they can affect data layout in header files, which could not be detected by all target drivers/dev handlers makes
- Cleanups


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3504 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 16:58:06 +00:00
Bart Van Assche 4d8453330e Corrected t10_dev_id and usn documentation.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3503 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 16:55:15 +00:00
Bart Van Assche beeef55b6f Use __packed instead of __attribute__((packed)).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3500 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 10:40:07 +00:00
Bart Van Assche 6f8d4b7288 scst_local: get rid of a checkpatch complaint for the procfs build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3499 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 08:04:56 +00:00
Bart Van Assche 375597fedf iSCSI-SCST: only define __packed for those kernels versions that do not have a definition for __packed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3498 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 08:03:32 +00:00
Bart Van Assche 4839c8167f iscsi-scst: get rid of two "suspect code indent for conditional statements" checkpatch complaints.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3497 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 07:19:12 +00:00
Bart Van Assche 35ddd54980 qla2x00t: get rid of checkpatch complaints about spaces at the start of a line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3496 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 07:00:48 +00:00
Bart Van Assche c37081aed5 Move spaces in long #warning/#error lines to the end of the previous line to shut up checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3495 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 06:59:40 +00:00
Bart Van Assche 45e53fdd85 scst_sysfs.c: Convert spaces to tabs.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3494 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 06:57:50 +00:00
Bart Van Assche cf131e0d20 scst_local: Rearranged a preprocessor directive such that generate-kernel-patch can expand it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3493 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 06:39:49 +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
Bart Van Assche 285d4bedcc scstadmin: fixed bug in "make uninstall" - specify proper directory when uninstalling scstadmin.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3491 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-28 15:59:16 +00:00
Bart Van Assche d47e60953c scst_local/procfs bug fix: don't include <scst_const.h> before <scst.h> or
SCST_VERSION_STRING will be incorrect because it gets defined before
CONFIG_SCST_PROC is defined.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3490 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-28 11:00:35 +00:00
Bart Van Assche 4c4beaa0cd scst_local/procfs bug fix: don't include <scst_const.h> before <scst.h> or
SCST_VERSION_STRING will be incorrect because it gets defined before
CONFIG_SCST_PROC is defined.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3489 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-28 10:59:27 +00:00
Bart Van Assche b901fe2958 iSCSI-SCST builds again on RHEL 5.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3488 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-28 10:37:46 +00:00
Bart Van Assche 500986e3cc Removed a superfluous line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3484 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-27 10:33:59 +00:00
Bart Van Assche 182cb39e35 Reverted r3477.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3483 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-27 10:15:41 +00:00
Bart Van Assche cefaa38fae scstadmin/Makefile robustness improvements for the "install" target
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3480 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-26 18:26:41 +00:00
Vladislav Bolkhovitin 4aee257140 Fix crash if /var/lib/scst/pr not found
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3478 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 19:59:38 +00:00
Bart Van Assche aab99c0b0e Reverted r3476 because the relevant kernel patches haven't been mirrored yet.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3477 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 15:12:40 +00:00
Bart Van Assche b969fbf9cb Update kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3476 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 10:16:58 +00:00