Commit Graph

1971 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
192c245e16 Merge of the trunk's revisions 2429, 2430 and 2470:
Update for 2.6.36



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2471 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-26 12:46:13 +00:00
Bart Van Assche
8ebd2bf6bb ib_srpt: Merged from trunk (svn merge -r2072:2459 https://scst.svn.sourceforge.net/svnroot/scst/trunk/srpt).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2468 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-25 18:29:44 +00:00
Vladislav Bolkhovitin
5b3780951d Merge of the trunk's r2462:
Let's be safe and always do memory barrier after all *_get().



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2463 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-25 13:12:23 +00:00
Vladislav Bolkhovitin
5ace9d78bc Merge of the trunk's r2422:
Fix possible crash on ABORT TASK SET TM command fixed



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2423 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 18:44:17 +00:00
Vladislav Bolkhovitin
671f955c72 Merge of the trunk r2420:
scst_pre_parse() must be called before scst_cmd_set_sn() to correctly process implicit HQ and ORDERED commands, so move it to __scst_init_cmd(). As consequence, SCST_CMD_STATE_PRE_PARSE state isn't needed anymore, hence remove it.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2421 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-18 18:31:03 +00:00
Mark Buechler
3261703ee9 Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2409 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 19:15:46 +00:00
Mark Buechler
aee3ce6fab Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2393 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-11 16:26:20 +00:00
Vladislav Bolkhovitin
95ee9c2077 Merge of the trunk r2373:
Fixes 2 iSNS server initialization problems noticed by Tan Eric <Eric.Tan@bdt-cn.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 18:14:38 +00:00
Vladislav Bolkhovitin
557622b30a Merge of the trunk's r2354:
Let's make check for SCST_PR_DIR not global, but per created device, because it's more reliable and flexible.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2355 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 12:28:42 +00:00
Bart Van Assche
0b072d852c Merged r2328 from the trunk (build fix).
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2329 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 07:28:10 +00:00
Mark Buechler
dc1dc62039 Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 20:25:12 +00:00
Mark Buechler
78d4cdaf46 Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2316 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 16:58:38 +00:00
Bart Van Assche
90794afc90 svn merge -c2244 https://scst.svn.sourceforge.net/svnroot/scst/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2303 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 15:22:14 +00:00
Vladislav Bolkhovitin
38241e6af3 Merge of the mainling r2297:
Possible buffer overflow in the config load code fixed. Thanks to wk <witold.kowolik@open-e.com> to pointing on it!



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2298 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 15:09:04 +00:00
Bart Van Assche
92395b17ba Merged r2246 and r2267 from trunk: added #include <linux/vmalloc.h> where necessary such that the SCST source code builds on PowerPC systems too.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 19:03:17 +00:00
Vladislav Bolkhovitin
33bd34813a Merge of the trunk's 2274:
Remove checking of rel_tgt_id on disabling targets



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2276 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:42:32 +00:00
Vladislav Bolkhovitin
56ae926937 Merge of the trunk's r2272:
Fix possible deadlock on waiting on blocking. As a side effect it leaded to a nice cleanup.

Sorry for merging such not obvious patch here, but the deadlock danger is quite real.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-25 18:30:53 +00:00
Mark Buechler
958ab88dd7 Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2260 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:28:16 +00:00
Mark Buechler
f4f734977d Merge scstadmin with trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2258 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 20:24:51 +00:00
Vladislav Bolkhovitin
61b6a6a7c4 Merge of the trunk r2250:
Update sample scripts to run scstadmin



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2252 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 19:22:53 +00:00
Vladislav Bolkhovitin
6548753cd6 Merge of trunk r2236:
Fix for incorrect initialization of conn->read_msg.msg_iovlen. But looks like this value is rather ignored in the TCP stack and read_size used instead, so all worked fine.

Noticed by yue <ooolinux@163.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2237 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 14:43:40 +00:00
Vladislav Bolkhovitin
9f339cd2f1 Merge of trunk r2234:
Fix possible crash if expected values not set



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 12:46:17 +00:00
Vladislav Bolkhovitin
c01c03a6b9 Merge of trunk r2232:
Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 12:23:50 +00:00
Vladislav Bolkhovitin
afadb6306a Marge of trunk r2224:
Scstadmin now can create sessions, so update README



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2226 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:59:42 +00:00
Vladislav Bolkhovitin
8c8c62a118 Menrge of trunk r2219:
Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2225 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:57:59 +00:00
Mark Buechler
cd82500d02 Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:55:58 +00:00
Mark Buechler
f837508fb8 Merge scstadmin from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2221 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:52:57 +00:00
Mark Buechler
4646cc4a9b Merge output changes from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 18:41:51 +00:00
Mark Buechler
8f85762180 - Merge ChangeLog change from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2214 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:31:54 +00:00
Mark Buechler
2d9748a9e9 - Merge README change from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2212 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:27:28 +00:00
Mark Buechler
3bbff1349a - Remove old scst_db stuff which no longer works with even procfs.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:22:28 +00:00
Mark Buechler
5077f32c89 - Remove invalid example file for older scstadmin using MySQL.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:20:39 +00:00
Mark Buechler
d22ea25972 - Rename old example config file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2205 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 16:14:33 +00:00
Mark Buechler
05c75109bc Merge from trunk r2203.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2204 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 13:59:07 +00:00
Vladislav Bolkhovitin
3fc4071684 Merge of trunk r2201:
Fix race for last_sysfs_mgmt_res between management commands and read-only monitoring actions



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2202 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 13:35:33 +00:00
Vladislav Bolkhovitin
047bdbf6b5 Merge of trunk r2199 (description corrected):
Fix of unexpected release of pending commands



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2200 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 13:16:58 +00:00
Vladislav Bolkhovitin
01d9bde71a Merge of trunk r2197:
Cleanup



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 12:26:36 +00:00
Richard Sharpe
efabfe526b Merge the recent changes to the 2.0.0.x branch now that Chris Worley has tested
them and seems happy. Vlad approved having these changes merged.


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2183 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 04:50:15 +00:00
Mark Buechler
f0e023fb4d - Fix for attributes without values from trunk.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2165 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 17:57:47 +00:00
Mark Buechler
18ac63d958 - Add example for sysfs version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2153 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-22 16:32:47 +00:00
Bart Van Assche
c9fea03ffa Version number update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2139 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-17 06:01:56 +00:00
Vladislav Bolkhovitin
58a957b8c0 Merge of the trunk's r2136:
Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2137 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 18:58:23 +00:00
Vladislav Bolkhovitin
d7e508e226 Merge of trunk r2134:
Stay away from buffers overflows with too long firmware and PCI infos



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2135 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-16 14:04:14 +00:00
Richard Sharpe
e937b00307 Merge my recent changes into the 2.0.0.x branch ...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2123 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-14 03:49:07 +00:00
Vladislav Bolkhovitin
9fe06dd3fa Merge of mainline r2119:
Forgotten enabling iSCSI target driver noticed by Alex Crow <alex@nanogherkin.com> added



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2120 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:38:20 +00:00
Vladislav Bolkhovitin
c59f067c19 Merge of r2117:
Scan host only if it has LUNs




git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2118 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-13 21:22:07 +00:00
Vladislav Bolkhovitin
5c7f79d3cc 2.0.0.x stable branch
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2091 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 14:16:00 +00:00
Vladislav Bolkhovitin
929eebcfec TAGS file renamed to not interfere with ctags
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2089 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 14:00:21 +00:00
Vladislav Bolkhovitin
85aa336006 Fixes sparse failure on constructs like "char str[max(...)];", because it does not recognize expressions like
max(constant1, constant2) as a constant. Also, sizeof(string) + 1 reserves one byte too much: sizeof(string) does count the terminating zero byte.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2088 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 12:54:17 +00:00
Bart Van Assche
4340c8f66f Made kernel builds more silent.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2087 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-10 08:34:47 +00:00