Commit Graph

2558 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
ef3019b48b Merge of the trunk's r3428-3435:
- Don't allow to create targets with the same names

 - Remove "unused variable" warning on old kernels

 - Fix a compiler warning on pre-2.6.35 non-RHEL systems.

 - Bug fix: do not try to apply patch readahead-2.6.32.below11.patch on kernel 2.6.32.11 or any later 2.6.32 kernel.

 - Removed the constant REPORT_DEVICE_IDENTIFIER from scst/include/scst_const.h because it is not used anywhere in the SCST source tree.

 - Expand CONFIG_SCST_PROC too.

 - Added #include <linux/slab.h> for kmem_cache_free().

 - MultiP must be 1 and HiSup 0



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3437 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-03 21:13:08 +00:00
Vladislav Bolkhovitin
d840579952 Merge of the trunk's rr 3421, 3424, 3425:
- More timers improvements and cleanups

 - iSNS server should know only about enabled targets

 - Don't abort not yet received commands



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3427 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-29 21:24:28 +00:00
Vladislav Bolkhovitin
c5379bd9b0 Merge of the trunk's r3414:
Rerference on the orig cmd should be taken during data out processing to correctly perform aborts



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3420 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:26:17 +00:00
Vladislav Bolkhovitin
64e7bb4d3a Merge of the trunk's r3413:
Correctly process being read cmd during abort



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3419 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:25:17 +00:00
Vladislav Bolkhovitin
7d18d72a0c Merge of the trunk's r3412:
Fix for crash on retry after double reset UA reported by Matteo Tescione <matteo@rmnet.it>



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3418 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:23:54 +00:00
Vladislav Bolkhovitin
9b10914fd8 Merge of the trunk's r3411:
NOP-In/response timeouts improvements



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3417 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:22:50 +00:00
Vladislav Bolkhovitin
c3df4446eb Merge of the trunk's r3402:
Removed a superfluous #include directive.



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3416 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:21:36 +00:00
Vladislav Bolkhovitin
8c8aadaa6d Merge of the trunk's r3400-3401:
- Full buffers must always be processed, otherwise bad things could happen

 - Make scst_get_full_buf and scst_put_full_buf consistent with the naming convention



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3415 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:20:26 +00:00
Vladislav Bolkhovitin
6084197aa1 Merge of the trunk's r3397:
HCAs GUIDs should be used as target names



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3398 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-20 22:53:30 +00:00
Vladislav Bolkhovitin
a759398f1f Docs update (trunk r3395)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3396 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-19 22:59:12 +00:00
Bart Van Assche
8072c7b835 svn merge -c3393 https://scst.svn.sourceforge.net/svnroot/scst/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-17 18:18:07 +00:00
Vladislav Bolkhovitin
2369ef6097 Version changed to 2.1.0-rc1
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 16:11:28 +00:00
Vladislav Bolkhovitin
5688fa63f6 Stable 2.1 branch added
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3390 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 16:06:17 +00:00
Bart Van Assche
09e34c0500 Removed spaces in front of tabs.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-13 17:54:15 +00:00
Vladislav Bolkhovitin
d0928114c0 Commands ordering/serialization improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3382 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-13 17:18:27 +00:00
Bart Van Assche
1f049c1f8c Replaced patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 14:31:37 +00:00
Bart Van Assche
8af652f456 Added more backports.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 14:22:49 +00:00
Bart Van Assche
f427ce220c Corrected kernel-2.6.29-pre-cflags.patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 11:53:07 +00:00
Bart Van Assche
522c9bac67 Corrected kernel-2.6.32-pre-cflags.patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3373 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 11:47:08 +00:00
Bart Van Assche
af0a496e57 Added the srpt pre-cflags patch to the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3372 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 10:51:58 +00:00
Bart Van Assche
f69a0796b3 Added copies of the pre-cflags patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3371 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 10:51:09 +00:00
Bart Van Assche
c4ec345017 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-09 12:55:37 +00:00
Vladislav Bolkhovitin
03c8f6fcd7 Fix compilations problems with gcc 4.6 reported by Bart Van Assche <bvanassche@acm.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3367 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-08 17:50:39 +00:00
Vladislav Bolkhovitin
b1d4ad6706 ChangeLogs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3361 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-06 12:28:40 +00:00
Vladislav Bolkhovitin
e44496cf67 INQUIRY has 2 bytes allocation length
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-06 12:07:19 +00:00
Vladislav Bolkhovitin
c0f059344e Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-06 11:36:32 +00:00
Vladislav Bolkhovitin
b4200acdaf Possibility to specify human readable comments to targets (for instance, to specify which target maps to which port) added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-05 19:56:01 +00:00
Bart Van Assche
0b00284465 Documented the ib_srp login string.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 19:03:47 +00:00
Vladislav Bolkhovitin
471bbfe6a0 Fix for race, when sysfs work can be destroyed just after sysfs_work_lock released. Noticed by Bart Van Assche <bvanassche@acm.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3355 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 18:33:14 +00:00
Vladislav Bolkhovitin
ba711072a4 Minor cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 18:13:27 +00:00
Vladislav Bolkhovitin
aa72d67856 Patch from Stefan Hauser <st.hauser@googlemail.com> with some style changes fixing case when after a error
between sessions_count increment and the corresponding session creation, sessions_count is not decremented.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 17:58:59 +00:00
Bart Van Assche
d1acc24bed Suppress gcc 4.6 warnings about unused variables.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-03 14:34:48 +00:00
Bart Van Assche
a4b8c0ecc6 Converted tabs to spaces.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3344 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 18:06:47 +00:00
Bart Van Assche
7da4f389c7 Fixed several recently introduced compiler warnings.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3343 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 17:53:21 +00:00
Bart Van Assche
0921e9c1da Avoid that the compiler complains about unused variables.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3342 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 17:49:41 +00:00
Bart Van Assche
c0dc93c198 Removed two unused variables.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3341 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 17:48:30 +00:00
Bart Van Assche
e45cda7c66 Reverted r3330 because it was committed before having been discussed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 06:48:53 +00:00
Vladislav Bolkhovitin
13b8766a6a Experimental patch to allow HCAs GUIDs be used as target names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 19:50:12 +00:00
Vladislav Bolkhovitin
bfacd754f6 Fixes for make headers_check
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3330 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 18:15:29 +00:00
Vladislav Bolkhovitin
d77d19286f TRACE_OUT_OF_MEM cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3329 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 17:43:46 +00:00
Bart Van Assche
289811ccc5 Kernel version update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 10:38:58 +00:00
Vladislav Bolkhovitin
a8ba76a527 Our vcdrom implementation is pretty minimalistic and doesn't support all mandatory commands, so it's better to not claim any standard confirmance.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3327 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-30 18:54:55 +00:00
Vladislav Bolkhovitin
fae29aba88 Fix ft_get_transport_id() prototype change in r3322
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3326 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-30 07:47:43 +00:00
Vladislav Bolkhovitin
74ad38e101 Forgotten file in the previous commit
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 19:14:02 +00:00
Vladislav Bolkhovitin
be49977abb - Change T10 ID and USN generations to get the random part be CRC32 from the device name in the first 8 characters as many MPIO implementations expect
- Cleanup



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 19:08:56 +00:00
Vladislav Bolkhovitin
daa2c6e05e Let's don't build docs by default
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 14:32:52 +00:00
Vladislav Bolkhovitin
4539005d7c Patch from Alexey Obitotskiy <alexeyo1@open-e.com> making get_initiator_port_transport_id() more flexible
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 14:30:01 +00:00
Vladislav Bolkhovitin
7817242b6a Minor docs handling improvement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 14:16:43 +00:00
Vladislav Bolkhovitin
eb52b4ae63 Minor web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3320 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 13:57:47 +00:00
Bart Van Assche
361cc3f91c Renamed sgv_cache.txt into sgv_cache.sgml.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3318 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-28 16:26:03 +00:00