Commit Graph

1577 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
efa58397a9 Minor max_transfer fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1741 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 12:37:14 +00:00
Vladislav Bolkhovitin
bab336f5d5 Minor web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1740 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 12:35:16 +00:00
Vladislav Bolkhovitin
3ad3d2e3e7 Fixes incorrect processing in scst_tape_generic_dev_done() in case of errors
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1739 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 12:00:48 +00:00
Vladislav Bolkhovitin
4bf0fb2871 Make BLOCKIO honor SYNCHRONIZE_CACHE commands
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1738 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 11:53:29 +00:00
Vladislav Bolkhovitin
085451ada4 ORDERED commands processing cleanup: there's no need to issue flushes for each ORDERED command, because maintaining order of putting data into the cache is sufficient and expected from us. To issue cache flushes initiators supposed to use the cache flushing commands and bits.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 10:28:33 +00:00
Vladislav Bolkhovitin
d05ae913a7 Fix compilation on older kernels as reported by niko <scst.niko@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1736 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 09:56:26 +00:00
Vladislav Bolkhovitin
ec3640be0b Partially merge of IET r307: allows to redirect initiators to another portals
+
Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1735 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-03 19:17:52 +00:00
Bart Van Assche
e2fef11118 Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1734 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-02 20:10:31 +00:00
Vladislav Bolkhovitin
459f589b34 - Delivery error response (instead of dropping connection) fixed
- Race when target deleted before the session(s) removal event(s) processed fixed
 - Docs updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1733 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-01 18:28:41 +00:00
Mark Buechler
2fe68c6554 - Finish up handling LUNs outside of groups. This should now
work with iscsi (and any driver/target which supports not
  using ini_groups).
- Add support for creating/deleting targets.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1732 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-01 18:25:45 +00:00
Vladislav Bolkhovitin
0007914f1d Make RX data digest failures handling more smart
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1731 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-01 11:35:27 +00:00
Vladislav Bolkhovitin
6dca03e5d2 Minor cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1730 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-01 10:58:39 +00:00
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