Bart Van Assche
08bfd4c19a
ib_srpt: Rework r4984 (skip Ethernet ports)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4991 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-08 10:20:54 +00:00
Bart Van Assche
38a6e069fa
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4990 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-08 07:03:30 +00:00
Vladislav Bolkhovitin
a2ec09f24f
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4989 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-07 04:44:26 +00:00
Bart Van Assche
6b6bcca4c8
scstadmin: Ensure that the version number can be parsed from inside Makefile.PL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4988 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-06 06:39:25 +00:00
Vladislav Bolkhovitin
1d160d287e
Cosmetics
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4987 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-06 04:06:12 +00:00
Vladislav Bolkhovitin
be9ca893d5
Docs updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-04 01:50:55 +00:00
Bart Van Assche
c526e00d39
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4985 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-03 10:00:41 +00:00
Bart Van Assche
523e2b3e59
ib_srpt: Skip Ethernet ports
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4984 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-09-02 07:31:12 +00:00
Vladislav Bolkhovitin
592ed0b587
Cleanup: SCSI status/sense must be explicitly set in those functions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4982 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-30 02:49:45 +00:00
Vladislav Bolkhovitin
e329cc5abb
Make SCST patters matching, for instance, to match initiator names to their group names, case insensitive
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4981 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-28 22:47:21 +00:00
Bart Van Assche
85e9255f37
ib_srpt: Add P_Key support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4980 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-27 06:39:45 +00:00
Bart Van Assche
9642081700
ib_srpt: Clean up srpt_handle_send_comp()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4979 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-27 06:36:52 +00:00
Bart Van Assche
70017e3883
ib_srpt: Remove two statements that became superfluous from srpt_abort_cmd()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4978 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-27 06:35:39 +00:00
Bart Van Assche
25059b6a81
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4977 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-21 09:54:18 +00:00
Bart Van Assche
fd5213ffe1
scst/src/scst_priv.h: Remove duplicate const since sparse complains about it
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4976 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-18 10:03:42 +00:00
Bart Van Assche
2ed2d3bce2
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4975 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-16 11:07:58 +00:00
Vladislav Bolkhovitin
fac009829c
Cleanup and add scst_create_devt_attr() and scst_create_dev_attr() for symmetry
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4974 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-15 23:44:21 +00:00
Bart Van Assche
905acc6815
scst: Make scst_create_tgt_attr() return the correct error code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-15 06:25:06 +00:00
Vladislav Bolkhovitin
c282b7964e
Simplify, fix and improve commands ordering
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4972 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-15 05:47:32 +00:00
Vladislav Bolkhovitin
24238e4654
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4971 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-15 05:43:27 +00:00
Vladislav Bolkhovitin
f8f2580fcd
From: Benjamin Black <Benjamin.Black@Emulex.Com>
...
There is not a way to specify an attribute that applies to only one
target or target driver. This patch provides such an interface.
Copyright (C) 2013 Emulex. All rights reserved.
This software is provided as-is, without any express or implied warranty. In
no event will Emulex be held liable for any damages arising from the use of
this software. Permission is granted to anyone to use this software for any
purpose, including commercial applications, and to alter it and redistribute it
freely. If you use this software in a product, an acknowledgment in the
product documentation would be appreciated, but is not required. This notice
may be removed from any source code distribution that includes all or any part
of the original software.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4970 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-15 05:34:33 +00:00
Bart Van Assche
886ae66326
fcst: Avoid triggering CRC errors at the initiator side
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4969 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:43:56 +00:00
Bart Van Assche
80ba881d46
fcst: Fix ft_abort_cmd()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4968 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:43:26 +00:00
Bart Van Assche
e6610624ae
fcst: Report FC send errors
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4967 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:41:38 +00:00
Bart Van Assche
6c5328df1d
fcst: Use proper length variable for bidir commands in ft_recv_write_data()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4966 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:41:17 +00:00
Bart Van Assche
76cc1e8857
fcst: Always report FC exchange errors
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4965 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:40:34 +00:00
Bart Van Assche
c71c844c21
fcst: Eliminate ft_cmd.serial
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4964 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:40:00 +00:00
Bart Van Assche
07569ed62d
fcst: Micro-optimize ft_cmd_free()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4963 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:39:37 +00:00
Bart Van Assche
2381497291
fcst: Suppress a lockdep complaint
...
===============================
[ INFO: suspicious RCU usage. ]
3.10.0-rc1-debug+ #1 Tainted: G O
-------------------------------
fcst/ft_sess.c:194 suspicious rcu_dereference_protected() usage!
other info that might help us debug this:
rcu_scheduler_active = 1, debug_locks = 0
1 lock held by fcoethread/2/7942:
#0 : (rcu_read_lock){.+.+..}, at: [<ffffffffa035ee30>] rcu_lock_acquire.constprop.14+0x0/0x30 [fcst]
stack backtrace:
CPU: 2 PID: 7942 Comm: fcoethread/2 Tainted: G O 3.10.0-rc1-debug+ #1
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
0000000000000001 ffff88003b191c28 ffffffff81525a11 ffff88003b191c58
ffffffff810a20ad ffff880039b7d1e8 ffff88003690c400 000000000000067a
ffff880039b7cb88 ffff88003b191c80 ffffffffa035f67b ffff880039b7cb88
Call Trace:
[<ffffffff81525a11>] dump_stack+0x19/0x1b
[<ffffffff810a20ad>] lockdep_rcu_suspicious+0xfd/0x130
[<ffffffffa035f67b>] ft_sess_get.isra.7+0x12b/0x150 [fcst]
[<ffffffffa035f6e2>] ft_recv+0x42/0x100 [fcst]
[<ffffffffa026edb2>] fc_lport_recv_req+0x272/0x2f0 [libfc]
[<ffffffffa0268c3b>] fc_exch_recv+0x61b/0xdc0 [libfc]
[<ffffffffa025f306>] fcoe_percpu_receive_thread+0x386/0x5f0 [fcoe]
[<ffffffff8106d34b>] kthread+0xdb/0xe0
[<ffffffff815357ac>] ret_from_fork+0x7c/0xb0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4962 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:39:14 +00:00
Bart Van Assche
e506bd990d
fcst: Fix a race condition
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4961 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:37:45 +00:00
Bart Van Assche
e41c3bf328
fcst: Fix a lockdep warning
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4960 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:37:23 +00:00
Bart Van Assche
cf8d18cba8
fcst: Remove ft_prlo() function header and a comment
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4959 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:37:00 +00:00
Bart Van Assche
049aab6dce
fcst: Update a debug statement in ft_prli()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4958 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:36:32 +00:00
Bart Van Assche
62059912bf
fcst: Remove two comments from ft_prli_locked()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4957 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:36:08 +00:00
Bart Van Assche
50c4c8ded9
fcst: Remove superfluous initialization from ft_sess_get()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4956 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:35:45 +00:00
Bart Van Assche
5fd500a4e9
fcst: Include version number in module description
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4955 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:35:09 +00:00
Bart Van Assche
812c33d403
fcst: Update ft_send_resp_code() function header
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4954 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:34:43 +00:00
Bart Van Assche
54b4717ffa
fcst: Inline ft_send_xfer_rdy_off()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4953 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:34:19 +00:00
Bart Van Assche
c555196073
fcst: Update ft_send_response() comment header
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4952 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:33:51 +00:00
Bart Van Assche
c2cbc9fec7
fcst: Move a member variable in struct ft_sess
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4951 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:33:18 +00:00
Bart Van Assche
a578373d4e
fcst: Add more debugging code in ft_sess_put()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4950 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 18:32:41 +00:00
Vladislav Bolkhovitin
ce2d1a93a4
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4949 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-13 01:43:04 +00:00
Bart Van Assche
af34653b31
nightly build: Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4948 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-12 18:24:00 +00:00
Vladislav Bolkhovitin
efd6a88bba
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4947 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-10 04:17:25 +00:00
Vladislav Bolkhovitin
f0edde2465
Emulex web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4946 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-10 04:08:10 +00:00
Vladislav Bolkhovitin
f438811634
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4945 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-10 02:29:30 +00:00
Bart Van Assche
b103dd9949
qla2x00t: Fix q2t_close_session()
...
The "force_close" sysfs attribute remains to exist for some time
after q2t_close_session() finished. Avoid that q2t_close_session()
invokes q2t_sess_put() more than once by removing a session from
the session list before returning. Avoid that that disabling a
target after q2t_close_session() has been invoked triggers a call
of q2t_sess_put(). Avoid that triggering the "force_close" sysfs
attribute after a target has been disabled triggers an additional
call of q2t_sess_put().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4944 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-09 16:19:56 +00:00
Vladislav Bolkhovitin
6de8805015
Updates for target drivers supporting both physical and virtual targets
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4943 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-06 22:20:49 +00:00
Bart Van Assche
f94393b43c
scstadmin: Enable targets after the ALUA configuration has been restored
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4942 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-04 18:16:51 +00:00
Bart Van Assche
2c67878832
scstadmin: Add ALUA attribute support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4941 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-08-04 18:15:28 +00:00