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
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
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
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
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
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
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
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
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
16f654b5ad
Update for 2.6.38
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-21 14:10:50 +00:00
Bart Van Assche
ce918fa396
Spelling fix (in source code comments): reaquire -> reacquire.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-27 09:46:41 +00:00
Vladislav Bolkhovitin
411fb4f623
- Update for 2.6.37
...
- Docs updated
- Returning of DIRECT contexts by scst_estimate_context() disabled (see comment in the patch why)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3203 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-10 18:34:29 +00:00
Vladislav Bolkhovitin
f3238333dd
Copyrights updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3200 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-06 20:02:04 +00:00
Bart Van Assche
1b72343266
Added "const" to keep checkpatch happy.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3191 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:14:25 +00:00
Bart Van Assche
3d707844b0
put_page_callback-2.6.37.patch: diff minimizing / added a missing file.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-12 12:22:10 +00:00
Bart Van Assche
d1f587ef29
Builds now on kernel 2.6.37 too.
...
(svn merge -c2972 https://scst.svn.sourceforge.net/svnroot/scst/branches/sysfs-tree-changes )
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3002 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-10 09:13:03 +00:00
Vladislav Bolkhovitin
52820b5d57
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-17 11:40:08 +00:00
Vladislav Bolkhovitin
a98808185f
Ignore out of SN range commands as requested by iSCSI RFC.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 14:23:25 +00:00
Bart Van Assche
a5417c1641
Compilation: Disabled -Wextra on RHEL5 since it triggers too many uninteresting warnings on that platform.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 10:20:16 +00:00
Vladislav Bolkhovitin
a565f89eb4
Don't return SN errors on IMMEDIATE commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2575 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 20:05:54 +00:00
Bart Van Assche
0a742c594d
Added missing cc-option definition.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2562 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-01 16:25:09 +00:00
Bart Van Assche
714a4da774
iscsi_scst builds again on RHEL (svn merge -c2559 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-01 15:50:33 +00:00
Bart Van Assche
33d7605cfe
Removed trailing whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2499 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 09:17:15 +00:00
Bart Van Assche
92a06f70bf
The put_page_callback patch applies again on the 2.3.36 kernel.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2494 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-30 08:37:11 +00:00
Vladislav Bolkhovitin
12f4f75a81
Update for 2.6.36 based on patch from Bart Van Assche <bvanassche@acm.org>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-26 12:30:40 +00:00
Vladislav Bolkhovitin
27ed60c19d
Let's be safe and always do memory barrier after all *_get().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2462 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-25 13:09:47 +00:00
Bart Van Assche
2df8fb30d5
Whitespace-only changes: addressed most whitespace complaints reported by the 2.6.36 checkpatch tool.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 13:10:15 +00:00
Bart Van Assche
56d40a5505
Patch header update for the 2.6.36 patches (does not build yet !)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:22:28 +00:00
Bart Van Assche
3667335dca
Copied and renamed the 2.6.35 in-tree files (does not build yet!).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2429 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 12:20:34 +00:00
Bart Van Assche
a05edc63c1
iSCSI-SCST: Added missing LIBCRC32C dependency.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2416 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-16 16:36:00 +00:00
Vladislav Bolkhovitin
2b1490584c
Merge of r2395 by Bart Van Assche <bvanassche@acm.org>:
...
The kernel module iscsi_scst loads again on RHEL 5 (Fixed "iscsi_scst: Unknown symbol set_cpus_allowed_ptr").
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2406 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-14 14:32:00 +00:00
Vladislav Bolkhovitin
f245543a36
Cleanup of support of kernels prior 2.6.18
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2368 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 13:01:15 +00:00
Vladislav Bolkhovitin
d7e087e3b2
Minor extended CDBs handling cleanups and fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2351 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 20:06:54 +00:00
Bart Van Assche
e44573aa6c
Fixed a sparse warning by changing iscsi_main_thread_pool from a global
...
variable into a static variable.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2334 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 14:46:20 +00:00
Vladislav Bolkhovitin
866f85bd18
Minor threds naming improvement
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2326 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 13:41:23 +00:00
Vladislav Bolkhovitin
929b4db422
Slightly modified patch from Bart Van Assche <bvanassche@acm.org> fixing build breakage on not too recent kernels introduced by r2317
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2324 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 12:09:26 +00:00
Vladislav Bolkhovitin
ff2c24c1c3
Assigning CPU affinity to threads and connections
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2317 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 18:07:27 +00:00
Bart Van Assche
fc27d91219
Fixed a mismatch between a format string and its argument list (was reported by sparse).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 17:23:37 +00:00
Vladislav Bolkhovitin
f9ed5611d8
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/trunk@2236 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-24 14:40:32 +00:00
Vladislav Bolkhovitin
404cf5cd6c
Fix of unexpected commit of pending commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2199 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-23 13:13:40 +00:00
Bart Van Assche
5b33692678
More upstream include path conversions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2076 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-09 15:27:54 +00:00
Vladislav Bolkhovitin
c66ae1850e
- get_transport_version() function changed to get target on entry
...
- transport versions propageted to user space handlers
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2061 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-06 21:45:48 +00:00
Vladislav Bolkhovitin
961d59ff40
- Version descriptors added
...
- Multi-transport support added to scst_local
- Sysfs attributes "version" and "trace_level" added to scst_local
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2060 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-06 21:21:49 +00:00
Vladislav Bolkhovitin
3c902f9a48
Fixes race between cancel_delayed_work_sync() and conn_nop_in_delayed_work_fn() restarting the work despite of the cancel. Reported by Phil White <phil@philwhite.org>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2054 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-04 17:35:45 +00:00
Vladislav Bolkhovitin
3120885a46
- Eliminate theorethically possible race leading to sending wrong max_sn to initiators
...
- Alignment cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-30 20:34:17 +00:00
Vladislav Bolkhovitin
023b65bafb
Minor fixes and improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2015 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-27 12:36:10 +00:00
Vladislav Bolkhovitin
1607d12c9c
Sysfs cleanups and fixes, part 1
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1962 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-20 15:38:21 +00:00