Commit Graph

1565 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
417ba22149 Support for Persistent Reservations for qla2x00t added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1729 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-31 18:05:09 +00:00
Vladislav Bolkhovitin
888bd5150e Minor typo fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1728 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-31 18:04:16 +00:00
Vladislav Bolkhovitin
d39f28714d Minor type fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1727 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-31 18:03:45 +00:00
Vladislav Bolkhovitin
a76b79d8b5 Patch from Gilad H <gilad.public2@gmail.com> adding support for Persistent Reservations to qla_isp driver
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1726 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-31 18:02:12 +00:00
Vladislav Bolkhovitin
465b7669c6 ALL_TG_PT implemented + some other fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1725 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-31 17:12:50 +00:00
Bart Van Assche
dd303b6198 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1724 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-30 07:50:09 +00:00
Bart Van Assche
3bf2ca4c39 Whitespace-only checkpatch complaints fixes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1723 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-30 06:33:24 +00:00
Bart Van Assche
5e95622983 Bug fix: does no longer attempt to patch kernels for which there is no kernel patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-30 06:31:39 +00:00
Vladislav Bolkhovitin
6dd3fb9c93 Now it is possible to dump PRs states in the log using proc/sysfs interfaces + some cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1721 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-28 16:30:11 +00:00
Bart Van Assche
6191ed45af Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1720 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-27 15:20:20 +00:00
Vladislav Bolkhovitin
3d3273e9f0 Cleanups and fixes for possible missed tgt_dev unlocks
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1719 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-27 12:30:56 +00:00
Bart Van Assche
e4a0b97871 Fixed recently introduced whitespace-complaints reported by checkpatch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1718 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-26 18:47:11 +00:00
Vladislav Bolkhovitin
129008c92c CONFIG_SCST_ISCSI_SKIP_ISID removed, because it isn't needed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-26 18:26:52 +00:00
Bart Van Assche
d3ed16cc1e Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1716 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-26 18:20:26 +00:00
Bart Van Assche
fdbc99557e Fixed build breakage caused by r1714.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1715 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-26 18:16:26 +00:00
Vladislav Bolkhovitin
b53e4cb4c1 Merge of the pr branch with additional fixes for problems found during extra testing
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-26 17:46:46 +00:00
Vladislav Bolkhovitin
bc1cda46df Sparse cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1713 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-24 12:32:45 +00:00
Vladislav Bolkhovitin
2436e1bb8b Update for 2.6.34
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1712 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-24 12:17:36 +00:00
Vladislav Bolkhovitin
0c0cfb4408 Pass-through dev handlers docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1709 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-24 10:00:22 +00:00
Bart Van Assche
ca2c97f7ba Fixed checkpatch warnings about long lines.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1708 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-22 08:25:25 +00:00
Bart Van Assche
0240109575 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1707 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-22 08:17:44 +00:00
Bart Van Assche
7cb475ca57 Whitespace-only changes in order to fix the 2.6.34 checkpatch complaints
about whitespace.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1706 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-22 07:30:27 +00:00
Bart Van Assche
be81036481 Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1701 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-19 17:58:59 +00:00
Mark Buechler
8ed236d49f - Split out apply config into parts to allow for luns (or other sections) to
exist outside of ini_groups - necessary for virtual targets.
- Added a few more methods (incomplete) for handing virtual targets.
- Started work on the check config code.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1700 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-18 19:59:09 +00:00
Vladislav Bolkhovitin
71f069f9db Minor docs cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-12 18:53:34 +00:00
Mark Buechler
81c6cb0397 - Added ability to read/convert an old configuration file. NOTE, this
may not work 100%. Defined groups will only be configured for
  targets contained within [TARGET enable] sections.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1689 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-12 18:31:22 +00:00
Vladislav Bolkhovitin
3450b12bc7 Minor cleanups and fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1688 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-12 14:05:36 +00:00
Mark Buechler
9539887b16 - Fix writeConfiguration() to not create empty groups and tidy it up a bit.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-11 18:58:03 +00:00
Vladislav Bolkhovitin
5406a07d26 Various iSCSI initiators access control and visibility improvements. Particularly:
- SendTargets now returns all (allowed) portals. Particularly based on IET r230, 234, 249 and 264.
 - Initiators assigned to security groups without LUNs will not see the target during discovery and forbidden to login to it
 - Per portals access control added
 - Negative sign added to wildcard matching
 - Docs updated
 - Cleanups and minor fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1685 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-07 18:08:52 +00:00
Mark Buechler
c770d037bd - Rename *AvailableParameters() to *CreateParameters() in module.
- Both write and apply target parameters now.
- Perform config deletions now with -force option.

Scstadmin.sysfs should now suffice to perform basic configuration
changes as well as apply from a config file.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-06 16:46:32 +00:00
Mark Buechler
c21f57bc97 - Remove some debugging.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1680 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-04 17:43:36 +00:00
Mark Buechler
f411449747 - More updates to scstadmin.sysfs. This version has basic config
writing, reading and applying capability. No config file
  syntax checking is being done so be warned.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1679 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-04 17:41:35 +00:00
Vladislav Bolkhovitin
07ecd8a5bc Cleanups for minor issues noteced by Bart Van Assche <bvanassche@acm.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1678 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-04 17:39:57 +00:00
Vladislav Bolkhovitin
e8cb991e6d Patch from Justin Clift <justin@salasaga.org> fixing uninstall of dev handlers
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1677 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-04 11:10:14 +00:00
Vladislav Bolkhovitin
6b10382d1f Patch from Bart Van Assche <bvanassche@acm.org> fixing broken compilation on some systems
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1676 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-04 10:56:31 +00:00
Bart Van Assche
c5a981ff61 Refined a comment.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-02 10:09:50 +00:00
Bart Van Assche
b19930753a Added sysfs support.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1674 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-05-02 08:15:29 +00:00
Mark Buechler
c27387a0f7 - More scstadmin.sysfs related updates. I think the help menu
is complete at this point.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1673 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-30 18:03:53 +00:00
Bart Van Assche
9f2a7853cd Fixed several recently introduced sparse warnings.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1672 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-30 11:03:38 +00:00
Bart Van Assche
c99bd720c8 Removed trailing whitespace because checkpatch complained about it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1671 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-30 10:49:28 +00:00
Mark Buechler
14d5140421 - Updates to SCST::SCST 0.9 to support sysfs interface.
- First version of scstadmin.sysfs. This is INCOMPLETE,                  
  don't use it yet.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 20:20:58 +00:00
Vladislav Bolkhovitin
7f0a07c038 Cosmetics
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 18:47:48 +00:00
Vladislav Bolkhovitin
80de46bc15 Experimental patch to set block limits
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1668 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 18:34:27 +00:00
Vladislav Bolkhovitin
a59f9a0dc6 Residuals handling fixes, part 2
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1667 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 17:13:12 +00:00
Vladislav Bolkhovitin
105fd01c57 - Residuals handling fixes, part 1
- Docs updated
 - Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1666 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 14:00:23 +00:00
Bart Van Assche
91dcd21358 Fixed a checkpatch complaint about spaces being used for indentation.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1665 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 06:43:49 +00:00
Bart Van Assche
87fb70f624 OFED version number update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1664 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-29 06:35:35 +00:00
Vladislav Bolkhovitin
055804e8f6 Fix compilation on CentOS/RHEL as suggested by Carl.Lewis@dpipwe.tas.gov.au
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1663 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-28 16:56:53 +00:00
Vladislav Bolkhovitin
a6270011ec - Fixing case when during SRRs ping-pong between initiator and target HW pending timeout gets triggered and the corresponding command deleted => oops on the next ping-pong turn
- Minor cleanups and fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1662 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-28 16:54:22 +00:00
Vladislav Bolkhovitin
5a87f2af9e - Unify unknown commands handling between kernel and user mode dev handlers. Particularly, new hook alloc_data_buf was added to struct scst_dev_type
- Minor web updates



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1661 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-28 13:05:18 +00:00