Vladislav Bolkhovitin
a2f4d66bc8
Merge of the trunk's r3552:
...
Errors reporting fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-07 18:22:22 +00:00
Vladislav Bolkhovitin
068846965a
Merge of the trunk's r3438,3488:
...
RHEL5/6 compilation fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3553 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-07 18:19:50 +00:00
Vladislav Bolkhovitin
fbf6841491
Merge of the trunk's r3549:
...
- Return no residual if expected values not set instead of BUG_ON(),
because this is valid situation for some preliminary comleted commands.
- Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3551 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-06 21:34:42 +00:00
Vladislav Bolkhovitin
5a0bf52cb5
Merge the trunk's r3546:
...
Set data_out_in_data_receiving for preliminary completed commands as
well to prevent releasing them too early in iscsi_check_tm_data_wait_timeouts()
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3548 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-06 21:06:40 +00:00
Vladislav Bolkhovitin
189288c5df
Merge of the trunk's r3523:
...
Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3524 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-03 20:32:02 +00:00
Vladislav Bolkhovitin
82121a4d49
Merge of the trunk's r3510:
...
Fix possible return 0 in sysfs write to threads_pool_type attribute functions
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3511 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 23:15:28 +00:00
Vladislav Bolkhovitin
e97ad68884
Merge of the missed r3399:
...
Minor logging fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 22:17:42 +00:00
Vladislav Bolkhovitin
694be76c34
Merge trunk's r3507:
...
Remove TAGS on extraclean
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3508 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 18:24:14 +00:00
Vladislav Bolkhovitin
51a96ec92d
Merge of the trunk's r3504:
...
- Let's always do extraclean on Makefiles modifications, because they can affect data layout in header files, which could not be detected by all target drivers/dev handlers makes
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3505 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 16:59:28 +00:00
Bart Van Assche
0dd84b41db
Corrected t10_dev_id and usn documentation.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3502 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 16:54:44 +00:00
Vladislav Bolkhovitin
2682c9a5ad
Fix for very strange merge failure.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3487 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-27 20:46:43 +00:00
Bart Van Assche
7004bdfb75
Removed a superfluous line in scst.h (Backported r3484 from the trunk).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3485 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-27 10:37:09 +00:00
Bart Van Assche
b41f15d39c
scstadmin/Makefile robustness improvements for the "install" target (backported r3480).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3481 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-26 18:27:02 +00:00
Vladislav Bolkhovitin
80a360c9b6
Merge of the trunk's r3478:
...
Fix crash if /var/lib/scst/pr not found
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3479 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 21:19:26 +00:00
Vladislav Bolkhovitin
eec281ae39
Merge of the trunk's r3474:
...
ChangeLogs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3475 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 00:58:41 +00:00
Vladislav Bolkhovitin
f95ed772f8
Merge of the trunk's r3472:
...
Docs about how to migrate from the deprecated ib_srpt_target_X layout updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3473 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-23 19:26:04 +00:00
Vladislav Bolkhovitin
0bfa54bfb8
Merge the trunk's rrs 3438:3445, 3447:3450, 3452:3456 and 3458:3466
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 23:02:07 +00:00
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