8786 Commits

Author SHA1 Message Date
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
Vladislav Bolkhovitin
57b5ed9895 Cosmetics
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1660 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-27 19:25:39 +00:00
Vladislav Bolkhovitin
75c83bb893 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1659 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-27 18:32:46 +00:00
Vladislav Bolkhovitin
af79b95d49 Resurrect readahead-2.6.32.patch under name readahead-2.6.32.below11.patch and update README that it was included in 2.6.32.11.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1658 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-27 16:52:15 +00:00
Vladislav Bolkhovitin
1c21b1ffb8 Minor cleanups, fixes and updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-27 16:29:58 +00:00
Bart Van Assche
b5965d2844 Updated kernel versions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1655 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-27 10:10:08 +00:00
Bart Van Assche
bb20653c37 Updated OFED version numbers.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1653 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-24 14:25:31 +00:00
Vladislav Bolkhovitin
c1a13ebaf4 Forgotten new files for r1651
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1652 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-23 17:50:01 +00:00
Vladislav Bolkhovitin
49e1187137 Merge of IET r326: OpenSSL dependency removal by utilizing the md5/sha1
code from the current kernel version.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-23 11:31:15 +00:00
Vladislav Bolkhovitin
7d218fb344 States cleanup and fix related login problem
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1650 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-23 11:26:39 +00:00
Vladislav Bolkhovitin
a4cfff4882 Web updates
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-23 10:56:11 +00:00
Vladislav Bolkhovitin
8404310cda IET r325: Minor fix-up for ietadm operations.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-23 10:42:10 +00:00
Vladislav Bolkhovitin
7cdcc6e43a Merge with IET r277: Fix TTT for final PDU. For Text Response it must be ISCSI_RESERVED_TAG.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1646 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 22:28:38 +00:00
Vladislav Bolkhovitin
f025190b53 - Loosly merge of IET r271: fix connection and session leak on connection preparation stages
- Cleanups



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1645 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 22:17:43 +00:00
Vladislav Bolkhovitin
835a346923 Merge of IET r263:
doc/manpages/ietadm.8 states adding a new target with tid=0 is illegal, but
in practice, it is not as it allocates a new tid automatically.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1644 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 18:38:34 +00:00
Vladislav Bolkhovitin
1b861ae336 - Merge of IET r255: cleanup copy & pasted code
- Docs update



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1643 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 18:32:35 +00:00
Vladislav Bolkhovitin
1848b1b15b Merge of IET r240: Fix use of uninitialised data in nl_write()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1642 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 18:03:08 +00:00
Vladislav Bolkhovitin
eb05cb541e Merge of IET r228: add module version and description
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 17:56:48 +00:00
Vladislav Bolkhovitin
623c62d339 IET r219: Fixed log_debug to properly evaluate logging level.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1640 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 17:51:50 +00:00
Vladislav Bolkhovitin
df4afc1736 IET r218: set the Final-bit on empty text response PDUs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 17:48:33 +00:00
Bart Van Assche
a158f6fbe5 Removed because accepted in mainline kernel.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 11:02:13 +00:00
Bart Van Assche
ea4588ea60 Updated readahead-2.6.32.patch because of a recent kernel 2.6.32 stable patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-21 10:33:37 +00:00
Vladislav Bolkhovitin
5a3dc8e8a8 Let's don't attach to pass-through devices to dev handler by default in the sysfs build
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 19:25:05 +00:00
Vladislav Bolkhovitin
88030d3b1f Minor fixes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 18:42:18 +00:00
Vladislav Bolkhovitin
d27d945c4f Fix for possible crash on unload for kernels below 2.6.25
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1633 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 18:05:16 +00:00
Vladislav Bolkhovitin
ab0d13c09c Uniform virtual and pass-through dev handlers for simplicity.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1632 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-20 13:20:47 +00:00
Bart Van Assche
05888f9db0 Un-break the nightly build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-16 18:24:56 +00:00
Vladislav Bolkhovitin
23ab28dcc7 Fix preliminary completion of reinstatement pending commands.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-15 19:51:31 +00:00
Vladislav Bolkhovitin
31da70434d Fixed crash on read-only attributes after manual chmod on them. Reported by Mehmet Ali Cer <mehmet.ali.cer@gmail.com>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 19:08:40 +00:00
Bart Van Assche
3a7fae9677 Removed trailing whitespace.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-04-14 18:03:04 +00:00