Commit Graph

2718 Commits

Author SHA1 Message Date
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
Bart Van Assche
22ef9f6546 Make "/etc/init.d/scst status" exit with code 3 instead of 0 if SCST has not been started as required by the LSB (merge r4047 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4048 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-02 12:11:56 +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
6d88abe7e7 scstadmin: Make /etc/init.d/scst work on openSUSE 12.1 (merge r4023 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4044 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2012-01-01 17:46:57 +00:00
Bart Van Assche
9a67bab4a7 fcst:
- Avoid that login triggers a crash.
- Add make release2debug / perf2debug / debug2release / debug2perf support.
- Complain when refusing login.
- RHEL 6 build fixes.
(Merged up to revision 4041 from trunk.)


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4043 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-29 14:46:41 +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
a597a9e292 Avoid that gcc 4.4 complains about missing terminating single quotes (merge r3974 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 10:01:29 +00:00
Vladislav Bolkhovitin
6f4d88bc32 Initialized merge tracking via "svnmerge" with revisions "1-4016" from
https://vlnb@scst.svn.sourceforge.net/svnroot/scst/trunk


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 02:23:09 +00:00
Vladislav Bolkhovitin
55fd2ba421 Rename 2.2.0.x to 2.2.x
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4021 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-21 02:18:52 +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
9ba413d6c7 Should have been included in r4012
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4013 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:25:48 +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
218fd3fbb1 disk_work.result is set by disk_cmd_done() and read by disk_exec().
Since there is a complete_all() / wait_for_completion() pair between both
accesses the volatile keyword is not necessary here (merge r3945 from trunk).


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4011 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:11:43 +00:00
Bart Van Assche
973fa97c51 qla2x00t: get rid of checkpatch complaints about spaces at the start of a line (merged r3496 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4010 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:09:41 +00:00
Bart Van Assche
5672f3a49c Move spaces in long #warning/#error lines to the end of the previous line to shut up checkpatch (merge r3495 from trunk).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.0.x@4009 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-12-19 16:06:43 +00:00