Vladislav Bolkhovitin
90aa221cbb
Update for kernels 3.0
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3775 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-27 01:13:10 +00:00
Mark Buechler
f58e5ff746
- Help menu cleanup.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:39:14 +00:00
Bart Van Assche
5bb53889f6
scstadmin: Port ALUA support to new sysfs interface
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3772 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:31:58 +00:00
Mark Buechler
dc7c3c569d
- Hopefully the last fix for initiator to target.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3771 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:28:37 +00:00
Mark Buechler
d590380e90
- Terminology fix pointed out my Bart Van Assche - rename initiator to target wrt target groups.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3769 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 18:22:12 +00:00
Mark Buechler
df0b08fd87
- Update man page for minor argument changes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 17:18:20 +00:00
Mark Buechler
6dfea77a42
- Sync version with scst.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3767 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 17:03:42 +00:00
Mark Buechler
c69d248484
- Forgot initiators within target groups. ALUA should be complete now.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3766 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 17:03:15 +00:00
Mark Buechler
31a3b9b5b3
- Finish writeConfiguration().
...
- Added clearConfiguration() support for ALUA.
- Added applyConfiguration() support for ALUA.
At this point, ALUA support should be complete.
Todo: Rewrite and simplify a whole lot of redundant code.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3765 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 16:47:49 +00:00
Mark Buechler
16cf933695
- Update addDeviceGroup() to latest svn.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3764 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 13:51:10 +00:00
Bart Van Assche
7999ac6f53
srpt: Make build mode switches silent
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 09:27:48 +00:00
Bart Van Assche
84f56dfa67
srpt: Change default build mode from release to debug. Add support for "make 2debug" / "make 2release" / "make 2perf".
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3759 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-26 09:26:17 +00:00
Mark Buechler
b21be77a50
- Ignore the new DEVICE_GROUP clause when applying SCST attributes.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 20:11:21 +00:00
Mark Buechler
8480912712
- Remove some left over debugging.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3755 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 19:21:55 +00:00
Mark Buechler
efb56801e9
- Read current ALUA configuration.
...
- Write current ALUA configuration.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3754 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 19:19:14 +00:00
Mark Buechler
00fcdca302
- Finish out the new ALUA options to scstadmin.
...
- Standardize the new options.
- Bug fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3753 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 18:25:48 +00:00
Mark Buechler
03c41350bd
- Add in device group attributes for if/when they are supported.
...
- Add a couple more ALUA arguments to scstadmin.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-25 15:24:50 +00:00
Bart Van Assche
0e3325b705
ib_srpt: Fix an RHEL-specific compiler warning.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3750 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-24 10:56:57 +00:00
Bart Van Assche
eee245a1c6
scst: Only define KERN_CONT for non-RHEL pre-2.6.24 kernels instead of defining it conditionally.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3749 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-24 10:36:21 +00:00
Bart Van Assche
7535772ccb
Remove kernel 2.6.28 because it doesn't build with a recent "make".
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3748 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-24 10:03:32 +00:00
Bart Van Assche
dea280a0f9
scstadmin: Make (un)installation work again
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3742 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-23 12:25:55 +00:00
Bart Van Assche
84d6b9b6b4
Revert r3737
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-23 12:08:01 +00:00
Bart Van Assche
a3344b629a
scstadmin: Install scstadmin in the proper directory
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-23 08:27:34 +00:00
Vladislav Bolkhovitin
7096e492ba
Improve changing debug/release/etc states by making them not depending
...
from the previous state. Hence, the corresponding labels were renamed to
2debug, 2release and 2perf.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 23:10:08 +00:00
Mark Buechler
d1b42a46a6
- Add initiator and attribute methods to module.
...
- Rename overly long method names.
- Add a couple more ALUA options to scstadmin.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 18:19:33 +00:00
Bart Van Assche
5795bdae00
Remove kernel versions 2.6.26 and older
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 15:40:31 +00:00
Bart Van Assche
4a7c82f872
Update kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 13:48:13 +00:00
Bart Van Assche
dc35b9c201
scst_vdisk: Join two source code lines
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3721 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 12:25:08 +00:00
Bart Van Assche
b2a60a6ebd
scst_vdisk: Fix spelling of a macro name
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 11:57:25 +00:00
Bart Van Assche
40d862c972
ib_srpt: Update author information
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-22 11:50:11 +00:00
Bart Van Assche
0648776e65
scstadmin: Make the default installation prefix /usr/local configurable
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3718 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 19:00:24 +00:00
Mark Buechler
b52f158f91
- Fix Makefile.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 18:53:54 +00:00
Mark Buechler
24a1a3553d
- Rename module directory to new version.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 18:53:32 +00:00
Mark Buechler
1e95f146b1
- Hopefully finish out module additions (largely untested)
...
- Add basic functions to scstadmin for ALUA
- Increment version to be more in line with next SCST release
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3715 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 18:50:58 +00:00
Mark Buechler
b069bb43d3
- Initial module support for ALUA
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 17:31:09 +00:00
Bart Van Assche
0b5c9f7569
scst/ALUA: Support use of the "create" verb next to "add" to create device groups and target groups
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 15:42:58 +00:00
Bart Van Assche
688b1d50a6
scstadmin: For the new sysfs interface, make scstadmin independent of the presence of the text [key] on the second line of the value of a sysfs attribute
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 13:46:55 +00:00
Bart Van Assche
9f0f453354
scst/sysfs: do not access scst_dev_handler_types[] outside its bounds
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3705 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 09:52:21 +00:00
Bart Van Assche
1b79bc57e9
scstadmin: Refactoring - use make_path() wherever possible
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 08:27:01 +00:00
Bart Van Assche
3e13713e87
scstadmin: Modify make_path() such that there is only a single leading slash at the start of absolute paths and such that it does not convert relative paths into absolute paths.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 08:26:04 +00:00
Bart Van Assche
588ed2f4d0
scstadmin: Refactoring - rename mkpath() into make_path(). While the current code works fine, the function mkpath() has the same name but different behavior than the Perl library function mkpath(), which is confusing for humans.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 08:24:55 +00:00
Bart Van Assche
5e293c567f
Add man pages for scstadmin, /etc/scst.conf and /etc/default/scst, including the scst-devel mailing list address for feedback and scstadmin author information
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-21 07:27:15 +00:00
Bart Van Assche
bad6359752
scstadmin: Fix copy/paste bugs in the error messages in initiators() and luns().
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3699 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 16:39:12 +00:00
Bart Van Assche
573ab14fe1
scstadmin: Unify the code for enumerating all SCST devices and the code for enumerating all SCST devices associated with a specific device handler
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 14:47:45 +00:00
Bart Van Assche
a66cbc4115
scstadmin: Add support for the sysfs interface provided by the code on the sysfs-tree-changes branch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 12:47:04 +00:00
Bart Van Assche
158182310c
scstadmin: Add local variables for emacs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3694 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-20 06:54:59 +00:00
Bart Van Assche
be2a156d3d
/etc/init.d/scst: Replace another instance of "echo y | scstadmin" by "scstadmin -noprompt".
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3693 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-19 19:06:02 +00:00
Bart Van Assche
b635ddf133
Whitespace-ony changes: use tab to indent and remove trailing whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-19 16:10:11 +00:00
Bart Van Assche
6640a95b54
scstadmin: Fix handlers(), the subroutine that scans for loaded device handlers
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-19 15:39:39 +00:00
Bart Van Assche
8fd3c8dcac
scstadmin: Make clear that the initiator group argument is optional for the LUN manipulation commands.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3687 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 11:54:02 +00:00