Commit Graph
286 Commits
Author SHA1 Message Date
Vladislav Bolkhovitin 1843f692de Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 19:52:45 +00:00
Vladislav Bolkhovitin 2e400cbcdc Docs updates. Update for qla2x00t-howto-debian.html was sent by Barry Schut <b.schut@iu.nl>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3609 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-24 00:46:02 +00:00
Bart Van Assche cb5792f74d qla2x00t: Fix a checkpatch complaint about whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-17 10:58:46 +00:00
Vladislav Bolkhovitin ae269f6189 With NPIV initiators being destroyed and recreated, the loop_id and/or
the d_id of a virtual initiator may change. The current implementation not
always catches these changes, which leads to wrong virtual devices
being presented to the initiators. This can lead to i.e. corruption of LUN
content and multiple initiators writing to the same LUN, although the
LUN's access group only contains a single port.

Until a better solution is found, we schedule a session deletion for the
nexus when receiving an ELS  port logout message. That way SCST
will re-initialize both loop_id and d_id when the initiator reconnects
before the actual deletion takes place. The performance impact is
minimal (few milliseconds) and currently necessary.

Signed-off-by: Jens-U. Mozdzen <jmozdzen@nde.ag>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-17 02:43:05 +00:00
Vladislav Bolkhovitin 7c6431beb4 Merge on the mainline qla2xxx git revision 0f19bc681ed0849a2b95778460a0a8132e3700e2:
Fix MSIX lockdep complain.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3577 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-15 20:12:56 +00:00
Vladislav Bolkhovitin bcf74cdd7b Web and docs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3563 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-10 01:43:05 +00:00
Bart Van Assche beeef55b6f Use __packed instead of __attribute__((packed)).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3500 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 10:40:07 +00:00
Bart Van Assche 35ddd54980 qla2x00t: get rid of checkpatch complaints about spaces at the start of a line.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3496 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-06-01 07:00:48 +00:00
Vladislav Bolkhovitin 554c044fe6 ChangeLogs updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3474 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-25 00:25:11 +00:00
Bart Van Assche 85bcb19a36 Added remaining files necessary for supporting 2.6.39 (these are copies of the 2.6.38 equivalents).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3465 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 16:38:57 +00:00
Vladislav Bolkhovitin b5a41deb28 Update for 2.6.39
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3462 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 00:52:34 +00:00
Vladislav Bolkhovitin 0f11a6139f Let's make build state changes errors more clear
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3445 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-11 01:56:38 +00:00
Vladislav Bolkhovitin 7311aeced3 Follow up commit for r3422
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3423 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-27 23:29:46 +00:00
Vladislav Bolkhovitin 30a78b2881 Patch from Grigory Eykalis <Grigory.Eykalis@dothill.com> with some changes implementing pass-through functionality
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3422 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-27 20:46:17 +00:00
Vladislav Bolkhovitin 0c8997fb38 Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3395 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-19 22:56:07 +00:00
Vladislav Bolkhovitin 8560366536 Version changed to 3.0
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3392 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 16:18:48 +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 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 c469a9745e Small docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3315 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-28 11:13:28 +00:00
Bart Van Assche d00afd73f4 Added remaining files necessary for 2.6.38 nightly build support.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3304 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-24 11:55:23 +00:00
Vladislav Bolkhovitin f518cd150c Let's remove *.orig and *.rej files on extraclean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 20:07:23 +00:00
Vladislav Bolkhovitin 47ba7e7795 Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3273 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-09 20:37:14 +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 32ec48443c Disable accepting initiator mode commands if initiator mode not enabled
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3261 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-24 21:15:29 +00:00
Vladislav Bolkhovitin 06249d693b Disable asking firmware for statistic if neither initiator, nor target modes enabled, because otherwise it can get crazy and be recovered only by a power reset.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3253 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-17 20:40:49 +00:00
Vladislav Bolkhovitin 22ebcaa381 Filter out zero port names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3252 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-15 23:26:27 +00:00
Vladislav Bolkhovitin 34ae7350ff Previous commit was wrong. Here is the correct version of the cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3251 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-14 23:28:45 +00:00
Vladislav Bolkhovitin 87686b6fbc Cleanup: loop_id_2100 is 2100/2200 specific
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-14 23:17:52 +00:00
Vladislav Bolkhovitin 3ee6fec0ba Fix for non-initialized s_id during ABTS handling
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3244 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-01 00:23:25 +00:00
Vladislav Bolkhovitin 4da198c5c4 Make q24_send_busy() a bit more reliable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3229 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-21 13:11:30 +00:00
Vladislav Bolkhovitin a23297eb40 Minor memory leak fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3210 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 18:37:11 +00:00
Vladislav Bolkhovitin 9f3646ea96 - Links events handling review
- Minor fixes


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3209 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 15:31:52 +00:00
Vladislav Bolkhovitin 72f11e6afb Version corrected
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3208 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 13:16:51 +00:00
Vladislav Bolkhovitin 7e98e5c62f Logging cleanups and fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3207 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-12 13:10:14 +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
Vladislav Bolkhovitin ff8b7ea523 Revert excessive marking devices lost to what the mainline qla2xxx is doing.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3196 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-06 13:30:45 +00:00
Vladislav Bolkhovitin 562a0f7ea3 - FW_NOT_READY timeout decreased to 1s
- Cleanups.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3185 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-29 20:15:39 +00:00
Vladislav Bolkhovitin 68072411fe Minor discovery and version info improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3178 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-24 18:58:06 +00:00
Bart Van Assche 94b01ca7a3 Added 2.6.37-related files (svn merge -c3129 https://scst.svn.sourceforge.net/svnroot/scst/branches/sysfs-tree-changes).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3146 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-20 14:12:44 +00:00
Bart Van Assche 69c9e393e5 Fixed recently introduced checkpatch complaints about whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2828 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-25 09:58:09 +00:00
Vladislav Bolkhovitin 1dce4e0ade EXPERIMENTAL! patch to improve keeping S_ID/LOOP_ID/PortName mapping handling. Only slightly tested.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2822 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-24 20:37:01 +00:00
Vladislav Bolkhovitin 078c37afe0 Docs cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2813 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-24 12:00:24 +00:00
Vladislav Bolkhovitin 3e298c2e4e Fix compilation if target mode support disabled
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-17 19:48:32 +00:00
Vladislav Bolkhovitin 0e225ebdf4 Patch from Cheng Renquan <crquan@gmail.com>
This is needed to build qla2xxx on top of 2.6.26 and
2.6.27 Linux kernels according this scst-devel mailing list thread,
http://sourceforge.net/mailarchive/message.php?msg_name=1288289831-23405-1-git-send-email-crquan@gmail.com



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-16 18:41:28 +00:00
Vladislav Bolkhovitin 972959d11a Patch from Uri Yanai <Uri.Yanai@ngsoft.com> fixing compilation for kernels below 2.6.28
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-10 19:34:22 +00:00
Bart Van Assche 8eaff2c061 qla2x00t: Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2647 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 20:09:31 +00:00
Vladislav Bolkhovitin ba81a8caaf Docs update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 14:41:22 +00:00
Vladislav Bolkhovitin e8f65b0336 Long CDBs handling fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2638 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 13:14:09 +00:00