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
Bart Van Assche
6b84c4cfdb
scstadmin: Change help text wording.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 10:37:31 +00:00
Bart Van Assche
8d652ce151
scstadmin: When adding a target attribute, report that a target attribute is being added instead of a driver attribute.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 10:00:13 +00:00
Bart Van Assche
5346d1cfd9
scstadmin: Should have been included in r3683.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3684 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 09:13:12 +00:00
Bart Van Assche
3ea5e2d4e5
scstadmin: Partially revert r3678. Checking whether a group name has been specified is the responsability of the Perl command line parser.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3683 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 08:56:06 +00:00
Bart Van Assche
d57423be9a
scstadmin: Make -write_config write out initiator names in alphabetical order
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 07:54:12 +00:00
Bart Van Assche
bdba6df123
scstadmin: Only show usage information if -h or -help has been specified. Do not try to execute the specified command if there is a syntax error in the command line arguments.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 07:49:05 +00:00
Bart Van Assche
a2186fddc0
/etc/init.d/scst: Use the -noprompt option of scstadmin instead of "echo y |".
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3680 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-18 07:46:17 +00:00
Bart Van Assche
c972696b3b
scstadmin: Make clear that -group is optional for -set_lun_attr.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3679 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-17 14:07:18 +00:00
Bart Van Assche
f3b7c16dff
scstadmin: Add information about -list_grp_attr in the scstadmin help text. Also, complain if no group name has been specified for -list_grp_attr.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3678 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-17 13:54:28 +00:00
Bart Van Assche
12be13f881
scstadmin: Add missing comma in an error message
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3677 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-17 13:30:14 +00:00
Bart Van Assche
02405d17f6
scstadmin: Fix documentation of -list_lun_attr and also the error message printed if -driver or -target is missing for -list_lun_attr.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-17 13:20:59 +00:00
Bart Van Assche
0fec18302a
scstadmin -list_drv_attr: Do not print the error message "No such driver found" for target drivers without attributes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-17 13:10:39 +00:00
Bart Van Assche
fd96524a64
scstadmin: Fix a documentation inconsistency
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-17 11:34:09 +00:00
Vladislav Bolkhovitin
654cc65319
put_page_callback patch for RHEL61 implemented by Patrick Zwahlen <paz@navixia.com>
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-16 03:41:06 +00:00
Bart Van Assche
ca66f0fa2d
fcst: Add a paragraph to the README
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-10 11:04:49 +00:00
Vladislav Bolkhovitin
660cc185d8
Let's print initiator and target names for not found LUNs to simplify diagnostics
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 19:58:11 +00:00
Vladislav Bolkhovitin
dc7cd39f2b
Logging cleanup
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 19:56:26 +00:00
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
8bfb6b40d7
Web updates
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3660 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 19:52:17 +00:00
Bart Van Assche
43c366ecf3
fcst: Add a paragraph in the README about the FCoE protocol.
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-07 18:53:58 +00:00
Bart Van Assche
e97c482436
scst: Avoid that scst_pr_remove_device_files() causes a crash if pr_file_name == NULL or pr_file_name1 == NULL
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-05 16:49:23 +00:00
Bart Van Assche
834015970b
Add iscsi-scst/kernel/patches/rhel/put_page_callback_addendum-rhel6.patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3656 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-04 16:20:23 +00:00
Bart Van Assche
de5750b8fb
scst_vdisk: Only mark manually set thin_provisioned sysfs attributes as [key]
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3655 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-03 10:04:02 +00:00
Bart Van Assche
42d47feb26
scst_vdisk: Always add a newline after [key] in sysfs attribute values
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3654 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-07-03 10:03:04 +00:00