Commit Graph

1596 Commits

Author SHA1 Message Date
Joe Eykholt
7a12737c9d Simplify README by eliminating example using of ini_groups.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1761 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-11 17:59:26 +00:00
Bart Van Assche
493ad888d5 Added in-tree fcst patches.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1760 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-11 16:12:54 +00:00
Joe Eykholt
546647be44 Support for persistent reservations.
Add a method for template get_initiator_port_transport_id()
to allow persistent reservations to work. 

Initialize struct ft_sess more fully before scst_register_session()
so that ft_get_transport_id() can use it.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1759 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-10 21:47:17 +00:00
Joe Eykholt
64a5ad5169 Updated README to refer to linux 2.6.34.
The same libfc patches apply, but I copied the series file for 2.6.34.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1758 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-10 20:40:45 +00:00
Bart Van Assche
cd57597f7f Removed trailing whitespace because checkpatch complained about it.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1757 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-10 18:59:45 +00:00
Joe Eykholt
f947cd2f43 Fix compile error by removing debug prints of deleted fields.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-10 18:38:58 +00:00
Vladislav Bolkhovitin
ccad0cc016 Updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1755 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-10 10:01:55 +00:00
Mark Buechler
dcc73eb66b - More "parameter" to "attribute" changes.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1754 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:51:03 +00:00
Mark Buechler
664a307edc - Small type fix in session().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1753 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:43:45 +00:00
Mark Buechler
1ea25d2975 - Rename "parameters" for "attributes" to be more inline with
SCST terminology.
- Support adding attributes to drivers & targets.
- Support adding virtual targets.
- Support luns outside of ini groups.
- New option -nonkey to allow writing of non-key attributes to
  the config file.

TODO: Cleanup writeConfiguration() - it has a LOT of redundant code.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1752 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:35:09 +00:00
Mark Buechler
eba08eadf5 - Rename "parameters" for "attributes" to be more inline with
SCST terminology.
- Renumbered error codes.
- Added ability to create attributes for drivers & targets.
- Make distinction between key attributes and normal attributes.
- Force attribute "enabled" to be a key attribute.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1751 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 18:31:42 +00:00
Vladislav Bolkhovitin
9cc65b544c Minor type fixed
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1750 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 15:36:16 +00:00
Vladislav Bolkhovitin
9ae870eb44 Update on attribute names with digits on the end.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1749 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-09 15:27:11 +00:00
Bart Van Assche
165bcc0f64 Use tabs instead of spaces for indentation.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1748 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-06 07:09:39 +00:00
Bart Van Assche
7268591baf Added support for persistent reservations.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1747 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-05 18:29:57 +00:00
Bart Van Assche
a66ac34685 Added missing semicolon.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1746 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-05 18:26:06 +00:00
Bart Van Assche
ca97893240 Fixed checkpatch complaints about whitespace and one sparse warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1745 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-05 16:44:27 +00:00
Vladislav Bolkhovitin
bf79920fa1 Version changed to 2.0-rc2
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1744 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 19:46:42 +00:00
Vladislav Bolkhovitin
8c05a7f350 Residuals and write residuals counting fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1742 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-04 19:43:02 +00:00
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