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
Vladislav Bolkhovitin
805f38cd4f
Docs about how to migrate from the deprecated ib_srpt_target_X layout updated
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3472 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-23 19:24:41 +00:00
Bart Van Assche
1b82611fff
Added kernel version 2.6.39.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3471 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-22 09:52:53 +00:00
Vladislav Bolkhovitin
c9d6e80898
On NEED_THREAD current function should be immediately finished
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3466 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 19:09:45 +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
Bart Van Assche
019489a774
Made it possible for generate-kernel-patch to evaluate all LINUX_VERSION_CODE statements.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3464 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 11:13:07 +00:00
Bart Van Assche
453cf8fd2e
Removed spaces in front of tabs.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3463 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 10:45:56 +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
3a2ba412c3
Blocked commands should not pass again through order checks
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3461 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-18 21:50:01 +00:00
Vladislav Bolkhovitin
c54ebba11a
Some more TM cleanups/improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3460 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-18 21:45:09 +00:00
Vladislav Bolkhovitin
70f7ce2c58
Regenerated scst_exec_req_fifo patches with fix for memory leak on errors processing path discovered and fixed by Steve Corbin <steve.corbin@virtualcomputer.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3459 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-18 01:22:22 +00:00
Vladislav Bolkhovitin
988cd9fe3b
Fix for double scst_check_local_events() call crash on commands processing path
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3458 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-18 00:46:37 +00:00
Bart Van Assche
6b3ad5d0fe
Refined ALUA documentation:
...
- Added pointer to information about associating iSCSI targets with network interfaces.
- Added information about configuring ALUA multipath on a Linux initiator.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3457 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-17 19:28:56 +00:00
Bart Van Assche
f82565d129
scstadmin/Makefile: verify whether the Perl module ExtUtils::MakeMaker has been installed before trying to install scstadmin itself. Based on a suggestion by Hiroyuki Sato.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-16 18:25:33 +00:00
Mark Buechler
b41b5b2f65
- Fix a small typo.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 19:21:16 +00:00
Mark Buechler
ccbc2e6400
- Add LUN 0 warning.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3454 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 19:05:56 +00:00
Bart Van Assche
2a12a99cff
scripts/run-regression-tests: echo "FAILED" if compilation failed.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3453 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 10:40:40 +00:00
Bart Van Assche
fc82862369
iscsi-scst: Fixed a compilation error that only occurred with GENERATING_UPSTREAM_PATCH defined.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3452 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 06:13:52 +00:00
Bart Van Assche
28ceea6df9
Added missing scst_tg.o as reported by Novgorodov Igor.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3451 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-13 05:59:51 +00:00
Vladislav Bolkhovitin
5e7544e5a4
TM handling fixes, part2, hopefully, final.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3450 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-12 01:31:01 +00:00
Vladislav Bolkhovitin
02aced3f19
Minor logging changes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3449 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-11 16:28:41 +00:00
Bart Van Assche
570be3dce6
Update kernel versions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3448 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-11 11:01:32 +00:00
Bart Van Assche
663d39f1ea
iscsi-scst/kernel/iscsi.c: fix a checkpatch complaint about whitespace.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-11 11:00:01 +00:00
Vladislav Bolkhovitin
e1447ae241
Add implicit ALUA support. On a setup with more than one target port
...
(sometimes called storage head) this patch makes it possible to tell the
initiator which port to use. Since that information can be specified per LUN,
with this patch it is not only possible to tell the initiator which path to
choose but also to balance the load over target ports. Target port attributes
can not only be defined for target ports that exist on the system on which
SCST is running but also for target ports present on other nodes of the same
HA setup. As far as I know this feature is unique among open source storage
target implementations.
Note: with this patch SCSI target port attributes can be defined for each LUN
defined on each SCST target individually. Such an SCST target is either a
physical entity (e.g. a HCA for the ib_srpt driver) or a logical entity (e.g.
an iSCSI target for the iscsi_scst driver). In the last case it is up to the
user to make sure that there is a one-to-one relationship between SCST target
and SCSI target port.
This patch is based on the specifications in the ANSI T10 spc4r30 document.
Signed-off-by: Bart Van Assche <bvanassche@acm.org >
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3446 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-11 02:22:48 +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
70eb596f60
Rework iSCSI aborts to make them more correct and remove recent workarounds (one more post-IET cleanup)
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3444 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-09 23:07:23 +00:00
Mark Buechler
1ee4416700
- Enable all hardware targets before adding virtual ones.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3443 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-09 20:03:07 +00:00
Bart Van Assche
6d823a16fa
Updated kernel versions.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3442 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-08 11:59:05 +00:00
Bart Van Assche
e47c6eb768
scst.h: Avoid that including scst.h before <linux/slab.h> triggers a warning about a preprocessor symbol redefinition.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3441 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-08 11:55:43 +00:00
Vladislav Bolkhovitin
33caaa6ee7
Cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3440 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-05 22:47:28 +00:00
Vladislav Bolkhovitin
a0a388396f
Fix incorrect errors reporting on deleting LUNs from groups in the proc interface
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3439 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-05 22:46:18 +00:00
Vladislav Bolkhovitin
f9cbfe51cd
RHEL5/6 workaround
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3438 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-03 21:27:30 +00:00
Vladislav Bolkhovitin
dbdc2386b6
MultiP must be 1 and HiSup 0. Dejavu, I've already fixed it.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3435 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-03 20:51:39 +00:00
Bart Van Assche
85c288f2f3
Added #include <linux/slab.h> for kmem_cache_free().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3434 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-02 17:43:54 +00:00
Bart Van Assche
fb9ea53977
Expand CONFIG_SCST_PROC too.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3433 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-01 09:14:06 +00:00
Bart Van Assche
e6a6bf11e6
Removed the constant REPORT_DEVICE_IDENTIFIER from scst/include/scst_const.h because it is not used anywhere in the SCST source tree.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3432 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-01 07:43:18 +00:00
Bart Van Assche
0e25f070ea
Bug fix: do not try to apply patch readahead-2.6.32.below11.patch on kernel 2.6.32.11 or any later 2.6.32 kernel.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-30 17:42:23 +00:00
Bart Van Assche
ec5a178eac
Fix a compiler warning on pre-2.6.35 non-RHEL systems.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-30 06:41:03 +00:00
Vladislav Bolkhovitin
73a32544ae
Remove "unused variable" warning on old kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3429 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-29 23:50:59 +00:00
Vladislav Bolkhovitin
9dcac0d305
Don't allow to create targets with the same names
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3428 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-29 21:53:19 +00:00
Vladislav Bolkhovitin
8443ae6bc7
Don't abort not yet received commands
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3425 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-29 19:54:13 +00:00
Vladislav Bolkhovitin
0c6cf4100d
iSNS server should know only about enabled targets
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3424 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-29 18:21:30 +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
c5b9c85591
- More timers improvements
...
- Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3421 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 19:07:13 +00:00
Vladislav Bolkhovitin
08ab8e40be
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/trunk@3414 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:06:23 +00:00
Vladislav Bolkhovitin
3c59daab2a
Correctly process being read cmd during abort
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3413 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:04:01 +00:00
Vladislav Bolkhovitin
5742e61cce
Fix for crash on retry after double reset UA reported by Matteo Tescione <matteo@rmnet.it>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3412 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-26 00:01:29 +00:00
Vladislav Bolkhovitin
64065a21e9
NOP-In/response timeouts improvements
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3411 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-25 23:50:49 +00:00
Vladislav Bolkhovitin
279ed8fd9f
Revert r3403 and 3405, because they crash on scst_local with blockio initialization on 2.6.38
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3410 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-25 23:16:53 +00:00