Bart Van Assche
2c613896b3
scst/sysfs: Added missing newline at the end of the LUN management help text.
...
scst/sysfs: Changed data type of mgmt help texts from 'char *' into 'static const char[]' because the latter is preferred for Linux kernel code.
scst/sysfs: Changed indentation of the variables declared in scst_tgtt_mgmt_show().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 10:02:11 +00:00
Bart Van Assche
5412c63410
scst: fake_aca support does now work (merged revisions 2677,2680 and 2681 from the ibmvstgt-port branch).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 09:27:23 +00:00
Vladislav Bolkhovitin
283a647c5e
Cosmetics: rename "tlb" to "tbl" as it should be from "table"
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-12 12:23:37 +00:00
Vladislav Bolkhovitin
fc3dec251d
scst_alloc() didn't set len of the last sg entry as reported by ido benda <idombd@gmail.com> + set resid_possible for special cases of LUN NOT SUPPORTED
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 19:55:52 +00:00
Bart Van Assche
d99565f6fb
ibmvstgt: Workaround to make ibmvstgt patch generation succeed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 15:10:49 +00:00
Bart Van Assche
a9663949f0
Patch generation scripts: Fixed a typo.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 14:50:37 +00:00
Bart Van Assche
a67095dc44
ibmvstgt: Minor comment change.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 14:02:11 +00:00
Bart Van Assche
64b2df03e4
ibmvstgt patch description: Separated porting changes from other changes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 13:23:30 +00:00
Bart Van Assche
b3364e18ba
ibmvstgt: Patch description update.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2666 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 13:17:50 +00:00
Vladislav Bolkhovitin
9ecf46038d
Small optimization: there's no point to keep full kobj completion.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 13:02:00 +00:00
Bart Van Assche
57d7323e00
ibmvstgt: Updated documentation.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 12:40:57 +00:00
Bart Van Assche
8cad61c602
ibmvstgt: Elaborated documentation.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 10:48:43 +00:00
Bart Van Assche
7bdfe662e8
ibmvstgt: Fixed a checkpatch complaint about whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 09:52:37 +00:00
Bart Van Assche
1f2cedce37
Merged scripts directory from ibmvstgt-port branch (svn merge -r2369:2654 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/scripts ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 09:26:44 +00:00
Bart Van Assche
17d6ca9cea
Merged the ibmvstgt-port branch (svn merge -r2369:2654 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2660 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-11 09:14:32 +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
Vladislav Bolkhovitin
1159c7fd26
in-tree-patches deleted as not needed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-10 19:30:13 +00:00
Vladislav Bolkhovitin
d66dcd71eb
Fix minor Makefile issues
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2655 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-10 12:35:11 +00:00
Vladislav Bolkhovitin
0463afc282
Patch from Bart Van Assche <bvanassche@acm.org> with some changes implementing additional hooks to allow target drivers to override INQUIRY responses and support for LUNs addressing method.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-09 21:01:21 +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
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
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
Vladislav Bolkhovitin
c631f51530
Fixes for sessions deletion
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-08 17:08:07 +00:00
Vladislav Bolkhovitin
66cec8e76a
Fix problems in marking sessions local
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-08 14:18:10 +00:00
Vladislav Bolkhovitin
1903d5e459
Local sessions management made more robust
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-08 13:21:15 +00:00
Bart Van Assche
994e8f8b08
Merged from the ibmvstgt-port branch, such that the nightly build works again.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2630 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-07 08:42:16 +00:00
Bart Van Assche
daa86ab856
ibmvstgt: PowerPC build fix (svn merge -r2369:2589 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/ibmvstgt/src/dummy_powerpc_defs.h ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2622 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 12:41:54 +00:00
Bart Van Assche
87d0149b49
ibmvstgt: Build and install both ibmvstgt and libsrp (svn merge -r2369:2449 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port/ibmvstgt/Makefile ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2621 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 12:40:10 +00:00
Bart Van Assche
38e8997ad8
Moved srp_task_attribute into srp.h (svn merge -r2508:2511 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 11:03:31 +00:00
Bart Van Assche
99830e05e7
svn merge -c2508 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2619 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 11:01:34 +00:00
Bart Van Assche
42ea082d08
ibmvstgt: Builds again on RHEL (svn merge -c2398 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-06 10:30:16 +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
Bart Van Assche
001e95d7c6
Replaced ibmvscsis source code by a more recent version (svn merge -c2585 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 20:35:00 +00:00
Bart Van Assche
902b674235
Added ibmvscsis source code for reference purposes (svn merge -c2552 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port ).
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 20:33:43 +00:00
Vladislav Bolkhovitin
97b62b57f1
TM handling on 23xx- fixed
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 19:22:49 +00:00
Vladislav Bolkhovitin
8c33147780
- Node name setting added
...
- qlini_mode "disabled" parameter handling improved
- Docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 18:56:54 +00:00
Vladislav Bolkhovitin
0754629ea6
Partially remove implicit ordered commands as a nonsense. It will be replaced by a common waiting facility to wait on depending previous commands to complete.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2604 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-05 11:54:22 +00:00
Vladislav Bolkhovitin
ac45e164b6
Logging cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2597 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-04 19:30:38 +00:00
Vladislav Bolkhovitin
f52189609b
A bunch of pending qla2x00t fixes:
...
- Make initiators discovery more robust
- Fix mapped SG leaks
- Docs update
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2595 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-04 14:37:40 +00:00
Vladislav Bolkhovitin
faa63a4c99
Docs updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:34:34 +00:00
Vladislav Bolkhovitin
0b7ece3340
From 8eca3f39c4b11320787f7b216f63214aee8415a9 Mon Sep 17 00:00:00 2001
...
From: Andrew Vasquez <andrew.vasquez@qlogic.com >
Date: Thu, 22 Jan 2009 09:45:31 -0800
Subject: [PATCH] [SCSI] qla2xxx: Always serialize mailbox command execution.
Original code would incorrectly bypass serialization if the DPC
thread were performing a big-hammer operation (ISP abort). This
short circuit, though rare, would subsequently stomp on a
secondary thread's mailbox command execution. Found during
ISP81XX testing.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com >
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2583 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:33:06 +00:00
Vladislav Bolkhovitin
b02fc5468e
Mainline commit 3c01b4f9fbb43fc911acd33ea7a14ea7a4f9866b:
...
From: Seokmann Ju <seokmann.ju@qlogic.com >
Date: Thu, 22 Jan 2009 09:45:38 -0800
Subject: [PATCH] [SCSI] qla2xxx: Add checks for a valid fcport in dev-loss-tmo/terminate_rport_io callbacks.
Commit f78badb1ae07e7f8b835ab2ea0b456ed3fc4caf4 ([SCSI] fc
transport: pre-emptively terminate i/o upon dev_loss_tmo timeout)
changed the callback semantics of dev_loss_tmo and
terminate_rport_io such that repeated calls could be made. This
could result in the the driver using stale (NULLed-out, in
dev_loss_tmo) data from the rport. Correct this by addint a
simple check to ensure a valid fcport is attached.
Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com >
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com >
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2582 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:29:10 +00:00
Vladislav Bolkhovitin
7fbab4729f
Revert r2020 to replace it by a better fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2581 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:21:32 +00:00
Vladislav Bolkhovitin
88c09a9bb0
Let's be safe and alway do barrier
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2580 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 13:05:15 +00:00
Vladislav Bolkhovitin
b259ba00f4
Fix for RESERVE command line
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2579 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 12:43:09 +00:00
Vladislav Bolkhovitin
f537b4e5ef
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2578 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-03 12:42:10 +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
Vladislav Bolkhovitin
a0c704c8c3
Cleanups and minor locking fix
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2574 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 19:43:19 +00:00
Bart Van Assche
97913313fc
svn merge -c2566 https://scst.svn.sourceforge.net/svnroot/scst/branches/ibmvstgt-port
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2570 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-02 11:38:46 +00:00