Commit Graph

2136 Commits

Author SHA1 Message Date
Bart Van Assche
d45f587bdc Fixed a race between session unregistration and queueing new commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2339 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 15:54:39 +00:00
Bart Van Assche
dee70735c5 ib_srpt: Added a note about unloading while I/O is ongoing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2338 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 15:28:33 +00:00
Bart Van Assche
1df8d51091 Source code comment update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2337 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 15:09:12 +00:00
Bart Van Assche
cc48d8ac94 Reduced stack usage of srpt_process_completion.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2336 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 15:08:45 +00:00
Bart Van Assche
5c955fad01 Changes:
- Removed a superfluous state transition in srpt_abort_scst_cmd() and
  cleaned up the source code of this function a bit.
- Implemented a workaround for the InfiniBand kernel stack bug that could
  result in IB_WC_RECV error completions to be delivered with an incorrect
  wr_id.
- RDMA read error completions and SRP_CRED_REQ send error completions are now
  processed correctly.
- If posting an SRP_RSP fails, don't set the delivery status because sending
  the response will be retried anyway.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2335 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 15:08:18 +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
Bart Van Assche
552c48d64b Fixed a spelling error in a source code comment.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2333 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 13:09:56 +00:00
Bart Van Assche
91f966ec33 Minor source code comment edit.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 12:52:57 +00:00
Bart Van Assche
4cb7d5c5b9 Updated a kernel version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 09:52:44 +00:00
Bart Van Assche
40369d1b01 Fixed a spelling error.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2330 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 09:47:40 +00:00
Bart Van Assche
afcaf14667 Further upstream kernel path conversion.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2328 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 07:23:49 +00:00
Bart Van Assche
3bae1fcd3c scst_passthrough.diff is again non-empty.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2327 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 17:19:37 +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
827f72cc51 - Thin provisioning fixes and cleanups
- Web updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 13:36:55 +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
Bart Van Assche
45848e74a4 Added command-line option -l.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2323 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-01 11:00:29 +00:00
Mark Buechler
c0122edea4 - Fix some -write_config formatting. Probably more to come.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2321 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 20:24:21 +00:00
Bart Van Assche
a0d02583a9 Further stack size reduction.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2320 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 18:51:18 +00:00
Bart Van Assche
b7f503e256 Removed a superfluous test.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2319 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 18:15:43 +00:00
Bart Van Assche
16199b9cbe Halved ib_wc array size once more.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2318 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 18:09:30 +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
Mark Buechler
11008f0f98 - Write group attributes on -write_config.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 16:57:31 +00:00
Bart Van Assche
9f6476426a Reduced stack usage of srp_recv_completion().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2314 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-30 06:11:04 +00:00
Bart Van Assche
2bbca1d6dd Cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2313 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 19:43:11 +00:00
Bart Van Assche
f2fd7a713a ibmvstgt bug fix.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2312 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 19:20:35 +00:00
Bart Van Assche
56091730e7 Fixed a severe bug in the SRP initiator request limit tracking algorithm.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2311 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 19:19:41 +00:00
Bart Van Assche
ba111e1804 Converted the two remaining scst_cmd_get_resp_data_len() calls.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2310 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 19:04:31 +00:00
Bart Van Assche
bdad2d787b Elaborated scsi_tgt removal patch description.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2309 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 18:38:40 +00:00
Bart Van Assche
6a016a27f2 Added the file ibmvstgt/README to the ibmvstgt patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2308 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 18:36:39 +00:00
Bart Van Assche
8d9a5e360c Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2307 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 18:33:17 +00:00
Bart Van Assche
6213d95400 ib_srpt: fix SCSI residual handling.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 17:47:14 +00:00
Bart Van Assche
f0f814c8ca ibmvstgt: fixed residual handling.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2305 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 17:43:31 +00:00
Vladislav Bolkhovitin
739d17ea45 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2304 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 16:05:57 +00:00
Bart Van Assche
d76bf5f6ca Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2302 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-29 10:54:40 +00:00
Bart Van Assche
3414db2c40 Made kernel source tree generation more silent.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2301 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 18:27:57 +00:00
Bart Van Assche
0b1706071a Inlined several patches instead of downloading these because apparently
downloading these patches doesn't work reliably.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2300 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 17:47:49 +00:00
Bart Van Assche
ed2ef155fc Reverted r2269 because it contained a suspicious patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2299 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 17:12:53 +00:00
Vladislav Bolkhovitin
013f6f1abe 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/trunk@2297 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 15:07:17 +00:00
Vladislav Bolkhovitin
8d23a63c3c Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2296 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 15:02:21 +00:00
Vladislav Bolkhovitin
121a30e9b2 Big CDBs handling improvements.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2295 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 13:56:46 +00:00
Bart Van Assche
cfad79a103 Added diffstat generation.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2294 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-28 06:46:20 +00:00
Vladislav Bolkhovitin
2546872ae5 Setting may_need_dma_sync in scst_get_sg_X_page_first() is not needed, because it doesn't map the page and CPU doesn't access the data directly
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2293 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 20:45:54 +00:00
Vladislav Bolkhovitin
08bee7feb8 Features list updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2292 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 20:43:50 +00:00
Bart Van Assche
d20e8eac39 Fixed a (harmless) typo.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2291 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 18:35:41 +00:00
Joe Eykholt
2ac1c45585 Fix warning of uninitialized variable on some compilers due to
no default case in switch statement.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2290 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 17:18:50 +00:00
Bart Van Assche
ea3fae76f6 Added scst_local to the SCST Kconfig file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2289 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 15:28:15 +00:00
Bart Van Assche
6ace2a37bc Avoid that sparse complains on the scst_local source code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2288 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 15:27:33 +00:00
Bart Van Assche
843a38dddd Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 10:47:48 +00:00
Bart Van Assche
507b7f0ae7 Reverted recently introduced #if/#elif handling changes because these were wrong.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2286 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 09:36:10 +00:00
Bart Van Assche
efc9328ff7 Further ibmvstgt/scsi_tgt patch description refinements.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2285 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-09-27 07:59:17 +00:00