Commit Graph

6019 Commits

Author SHA1 Message Date
Bart Van Assche
68a9178e4a ib_srpt: Remove redundant forward declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6105 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 15:47:46 +00:00
Bart Van Assche
56d3217eb0 ib_srpt: Update a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6104 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 15:43:44 +00:00
Bart Van Assche
d46a3e8bab ib_srpt: Convert srpt_xfer_data() return value
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 14:49:45 +00:00
Bart Van Assche
59f25b783e ib_srpt: Eliminate an argument from srpt_xfer_data()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 14:34:00 +00:00
Bart Van Assche
5b5d944140 ib_srpt: Rename more variables
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6101 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:41:31 +00:00
Bart Van Assche
aa52348481 ib_srpt: Fix a checkpatch complaint
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6100 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:21:34 +00:00
Bart Van Assche
4ddf8b19ec ib_srpt: Clean up an error message
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6099 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:18:18 +00:00
Bart Van Assche
585df7c5f6 ib_srpt: Rename a few variables
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6098 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 13:16:52 +00:00
Bart Van Assche
edb4d579fb ib_srpt: Shorten a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6097 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 12:53:12 +00:00
Bart Van Assche
c2b09b243c ib_srpt: Change type of the first argument of srpt_get_ioc()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6096 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 12:48:36 +00:00
Bart Van Assche
460c0bdada ib_srpt: Swap the order of two declarations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6095 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 10:56:26 +00:00
Bart Van Assche
c8e0a2c711 ib_srpt: Reorder structure members
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6094 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 10:40:05 +00:00
Bart Van Assche
b0ed8ed58c ib_srpt: Convert print and trace statements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6093 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 10:26:21 +00:00
Bart Van Assche
b686ed343d ib_srpt: Remove TRACE_ENTRY()/TRACE_EXIT() macro invocations
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6092 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 09:46:40 +00:00
Bart Van Assche
42bc56a0a2 ib_srpt: Add missing kernel-doc comments
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 09:44:25 +00:00
Bart Van Assche
f9815c620d ib_srpt: Eliminate struct srpt_tgt
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 09:41:25 +00:00
Yan Burman
ed3a17ca7a isert: Fix crash on listener close while in login/logout loop
Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-16 08:59:32 +00:00
Bart Van Assche
f80ab08f9f nightly build: Update a kernel version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6087 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-15 09:07:44 +00:00
Bart Van Assche
f2796fa60b ib_srpt: Remove a structure member that became superfluous due to the previous commit
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6086 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-13 13:12:06 +00:00
Bart Van Assche
0d452d4712 ib_srpt: Drop support for one_target_per_port=false
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-13 12:59:18 +00:00
Bart Van Assche
5019ae319e scst: Introduce file_inode()
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
[bvanassche: Constified file_inode() argument / added iscsi-scst conversion]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6084 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-12 07:48:10 +00:00
Yan Burman
ea5e08e74b isert: Fix crash on service stop when under heavy login/logout load
Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6081 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-11 13:05:34 +00:00
Yan Burman
90faade1cc isert: Fix case where we got disconnect before login character device was opened
We may receive disconnect before iscsi-scstd had the chance to open
the character device. This would result in resource leak, since the device will not be freed.
Fix this by only increasing reference once the device is actually opened.

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6080 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-11 13:05:20 +00:00
Bart Van Assche
160e772a2f iSCSI-SCST: Include iSER source files in nightly build
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6037 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 10:42:39 +00:00
Bart Van Assche
3c1a3ce259 nightly.conf: Merge from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6036 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:30:26 +00:00
Bart Van Assche
d3e283bc44 scst_debug.h: Remove duplicate pr_warn() definition
A backport of pr_warn() is already present in <scst/scst.h> so
remove the pr_warn() definition from <scst/scst_debug.h>.


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6035 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:26:34 +00:00
Bart Van Assche
97711db2b6 iscsi-scst/usr/param.c: Remove an empty trailing line
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6034 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:14:28 +00:00
Bart Van Assche
a565e48819 scst_vdisk: Source code comment spellig fixes (merge r6022:6024 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6033 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:12:58 +00:00
Bart Van Assche
739c9025db scst_scsi_exec_async(): Fix a recently introduced memory leak (merge r6016 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6032 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:11:35 +00:00
Bart Van Assche
8fbfa14da6 scst_targ: Source code comment spellig fix (merge r6025 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6031 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:10:08 +00:00
Bart Van Assche
4696f90f07 ib_srpt: Merge r5990:6028 from trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6030 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:08:51 +00:00
Bart Van Assche
b362b6453e Docs updates (merge r6015 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-10 08:07:10 +00:00
Bart Van Assche
087c7352ac srpt/README: Document how to configure scsi-mq at the initiator side
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-09 09:27:38 +00:00
Bart Van Assche
3e59f81ea5 scripts/spread-mlx4-ib-interrupts: Add to repository
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-09 09:26:10 +00:00
Bart Van Assche
f4217a8b48 ib_srpt: Clarify a log message
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6026 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-08 12:53:02 +00:00
Bart Van Assche
b05e8b60a7 scst_targ: Fix spelling in a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6025 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-06 15:55:16 +00:00
Bart Van Assche
c679c4c785 scst_vdisk: Fix spelling in a source code comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6024 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-06 15:53:35 +00:00
Bart Van Assche
a4d1421b4a scst_vdisk: Fix spelling in a source code comment
Signed-off-by: Aayush Kasurde <aayush.kasurde@gmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-06 15:51:58 +00:00
Bart Van Assche
2de7915259 ib_srpt: Remove an obsolete comment
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-06 15:11:33 +00:00
Bart Van Assche
078b9d3bbe ib_srpt: Clean up header file ib_srpt.h
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6021 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-06 14:39:55 +00:00
Bart Van Assche
070986a738 ib_srpt: Document #endif CONFIG_SCST_PROC statements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6020 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-06 13:55:51 +00:00
Bart Van Assche
8446ccd282 ib_srpt: Remove emacs local variables
This patch does not change any functionality.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6019 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-05 16:23:25 +00:00
Bart Van Assche
f58feb1c73 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6018 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-02 16:46:44 +00:00
Yan Burman
2b9e1f9be8 isert: Fix listener release handling
Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6017 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-01 11:01:21 +00:00
Vladislav Bolkhovitin
8732cf3036 scst_scsi_exec_async(): Fix a recently introduced memory leak
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6016 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-31 04:41:09 +00:00
Vladislav Bolkhovitin
c7868c2733 Docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6015 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-30 01:35:32 +00:00
Yan Burman
fab0ea06e2 isert: Properly propagate portal creation error to iscsi-scstd
Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6004 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 12:16:26 +00:00
Yan Burman
0ce1128b19 isert: Fix discovery and login with actual 8192 bytes of data
Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6003 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 12:16:15 +00:00
Yan Burman
4a8b416ff8 isert: Make sure we have a valid conn pointer
Fix a race where disconnect was called while iscsi-scstd was doing ioctls

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6002 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 12:16:05 +00:00
Yan Burman
06e42a7273 isert: Avoid starving connections in high connect load
Stack was used instead of queue for incoming connection management.

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@6001 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-28 12:15:55 +00:00