Commit Graph

2156 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
b4dfb7cda6 Unsupported (yet) patch making QLA adapters behave in the target mode from the very beginning with description from Bryan Mesich <bryan.mesi
ch@ndsu.edu>.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2360 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:51:51 +00:00
Bart Van Assche
9eac25591f If option -p has been specified, run checkpatch on the split out patches instead
of the single large patch.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2359 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:25:58 +00:00
Bart Van Assche
6ced6c5338 Added command-line option -p: apply SCST as multiple patches to the Linux kernel instead of a single patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2358 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 18:06:07 +00:00
Bart Van Assche
160be2c30a Reverted r2327 because it is no longer necessary.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2357 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 17:52:28 +00:00
Bart Van Assche
b5c8cdb121 Bug fix: made sure that nested invocations of process_patch() do not overwrite each others output.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 17:50:50 +00:00
Vladislav Bolkhovitin
56b82883b1 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/trunk@2354 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 12:26:11 +00:00
Bart Van Assche
d23c7b3b85 ibmvstgt: started backporting.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2353 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 11:02:24 +00:00
Bart Van Assche
7c399c3226 Fixed checkpatch complaints about whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2352 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-06 10:30:54 +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
Vladislav Bolkhovitin
6d0fc28d20 Fix compilation on kernels between 2.6.28 and 2.6.34 inclusive.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2350 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 19:09:08 +00:00
Vladislav Bolkhovitin
2370609897 Minor cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2349 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 18:45:20 +00:00
Bart Van Assche
6f6b0a4acd ib_srpt: Updated test instructions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2348 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 16:55:32 +00:00
Bart Van Assche
4009410ce2 Further lock contention reduction / exported max_host_blocked.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2347 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-04 17:05:10 +00:00
Bart Van Assche
92b70d4f83 ib_srpt: Report firmware bugs instead of silently ignoring these.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2346 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-04 16:57:03 +00:00
Bart Van Assche
ef0016aa7e Reverted r2344 because it reveals locking bugs in the SCSI layer, e.g. scsi_request_fn() being reentered.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2345 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-03 11:51:41 +00:00
Bart Van Assche
26a20ad5ea Added bdi patch / further performance optimizations.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2344 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-03 11:16:31 +00:00
Bart Van Assche
c42c4159ed Fixed a checkpatch complaint.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2343 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-03 07:26:03 +00:00
Bart Van Assche
c130e11f44 ib_srpt: race-at-session-unregistration-fix (partially reverted r2339).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2342 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 17:45:57 +00:00
Bart Van Assche
c935c8e28d ib_srpt: Increased ib_wc array size back from 4 to 16.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2341 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 16:05:54 +00:00
Bart Van Assche
e3fcb70f50 ib_srpt documentation: Shortened a note.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2340 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 15:56:46 +00:00
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