Commit Graph

33 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
988f8d98fc Patch from Ruben Laban <r.laban@ism.nl> to make the Makefiles more packager friendly with some modifications.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@704 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-03-19 14:20:07 +00:00
Mark Buechler
36db05162a Re-order Makefile install and uninstall a bit. Specifically
for the install so lsb commands come last should lsb not exist
on the system, at least the rest of install works.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-02-11 16:16:53 +00:00
Mark Buechler
b0a902a6a1 Add lsb support for init.d scripts. Patch from Bart Van Assche.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@669 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2009-02-11 16:09:45 +00:00
Vladislav Bolkhovitin
5026d92ad0 Access control docs updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-26 17:40:30 +00:00
Mark Buechler
b4c37abdb2 - Fixed a removeDevice() case when using -ForceConfig. Spotted by Ondrej Palkovsky.
- SCST.pm: Cosmetic changes to error messages - include the handler name.
- SCST.pm: Quote handlers, handler IOs, devices, users and groups in error messages.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 17:30:37 +00:00
Mark Buechler
40e56edbbd - Cosmetic fixes by Witold Kowolik and increment version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:11:32 +00:00
Mark Buechler
c7fafb82ab - Fixed enabling/disabling targets. Spotted by Witold Kowolik.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@619 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:05:55 +00:00
Mark Buechler
1d168fae23 - Fix a check in SCST::removeUser(), spotted by Witold Kowolik.
- Changed a few returns to 1 instead of $TRUE since really they're
  int returns and not boolean.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@618 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-18 16:00:34 +00:00
Mark Buechler
76d0a69737 - Added patch my Witold Kowolik to allow enable/disable of qla_isp cards.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-09 18:57:32 +00:00
Mark Buechler
d530e39e3a - Applied patch from Witold Kowolik with modifications,
simplifies/fixes option parsing.
- Added new REMOVABLE option.
- Allow options to be specified in lowercase.
- Misc. fixes.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@612 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-12-09 18:28:29 +00:00
Vladislav Bolkhovitin
5cfcd159d4 Minor scstadmin-related improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@464 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-17 17:56:57 +00:00
Mark Buechler
6abcdbd392 - Added init enable instructions to "make install" and README file.
- Changed VERSION on top-level Makefile to MODULE_VERSION to be more clear.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@460 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-14 20:00:18 +00:00
Mark Buechler
4b459b7648 Removed duplicate SCST.pm module file.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@459 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-14 19:44:04 +00:00
Mark Buechler
908e8f76dd - Added a proper Makefile.PL to SCST::SCST so now we have a also a
proper man page.
- Renamed Changes to ChangeLog
- Updated README to include instructions for installing the perl module.
- Renamed SCST perl module directory tp scst-0.7.4



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-09 17:32:42 +00:00
Vladislav Bolkhovitin
8c71b68271 - Version changed to 1.0.1
- Switched back to the debug mode



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@442 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-09 16:44:01 +00:00
Vladislav Bolkhovitin
299b079f7c Pending changes to match the 1.0.0 released packeges
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@436 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-08 19:21:22 +00:00
Vladislav Bolkhovitin
79cb40d73a - Install/uninstall added
- Version fixed


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@431 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-07-07 17:51:53 +00:00
Mark Buechler
8aa85fae74 Added option mapping NV -> NV_CACHE.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@414 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-06-13 13:38:46 +00:00
Vladislav Bolkhovitin
2c7a042a89 Small typo noticed by Tomasz Chmielewski
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@254 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2008-02-08 16:20:27 +00:00
Vladislav Bolkhovitin
2de18c7c7a - Now iSCSI target service load considered successful if at least one listen socket was successfully open and setup
- Minor race on BLOCKIO requests submittion was fixed
 - Other minor fixes and cleanups


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-12 11:21:54 +00:00
Mark Buechler
ae6f85074d - Fixed config file parsing for null groups when a group
name was the same as an assignment immediately following
  it.
- Added support for undefined groups at the time of assignment.
  If a given group does not exist, an empty group will be
  created and a warning will be issued.
- Make method cleanupString() in SCST::SCST private.
- Minor updates.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-11-07 19:00:58 +00:00
Mark Buechler
3c952e4d0f - Allow for empty groups (groups with no users) for iSCSI.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@185 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-07 19:48:20 +00:00
Mark Buechler
cf4c66e1f4 - Fix really stupid mistake where config commits were using same path
for each device.
- Added option processing. The new API wants the option BLOCKIO,
  but SCST then shows the device having been opened with
  option BIO. We now warp BIO to BLOCKIO.
- Added the concept of handler aliases. Handler vdisk with
  option BLOCKIO shows as a handler of vdisk_blk. We now
  warp vdisk_blk to just vdisk.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@184 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-09-07 19:04:51 +00:00
Vladislav Bolkhovitin
fd6744d33e scst_fileio renamed to scst_vdisk
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@172 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-08-27 10:49:04 +00:00
Vladislav Bolkhovitin
1d694781ee scsi_tgt renamed to scst
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@169 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-08-24 16:40:56 +00:00
Mark Buechler
5a261fcdd6 - Fixed applyConfiguration() to apply a full config in -ForceConfig mode
- Fixed device handler switches
- Fixed device assignment LUN changes
- Fixed handling of disabled handlers (like dev_disk, dev_cdrom, etc from compile time)



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@134 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-22 18:23:12 +00:00
Mark Buechler
8de9a09bcf - Version increment (almost forgot)
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@133 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-21 17:30:34 +00:00
Mark Buechler
07517779d3 - Fixed applyConfiguration() to remove entries before adding new ones.
- Fixed changes and differences counts
- Added intelligence around virtual/physical/performance type devices



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-21 17:24:12 +00:00
Mark Buechler
d1a8a81d20 - Fixed closing a device with -RemoveDev
- Added BLOCKIO option support



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@131 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-20 13:45:19 +00:00
Mark Buechler
f6ba07057d - Updated for vdisk/vcdrom from disk_fileio/cdrom_fileio
- Added new errorString() method to SCST/SCST.pm containing
  error message of last error encountered.
- Minor updates to scst_db - UNTESTED
- Changed SCST/SCST.pm to look for files like vdisk/vdisk instead
  of vdisk/type to gather list of valid device handlers
- Minor bug fixes



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@130 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-06-19 20:21:27 +00:00
Vladislav Bolkhovitin
d8bd3482e1 Here is a patch to the scstadmin script that solves my startup problems, when
initiator doesn't see the target and puts in the kernel log messages like that:

qla2300 0000:02:03.0: scsi(6:0:0): Abort command issued -- a 2002.
 6:0:0:0: scsi: Device offlined - not ready after error recovery
 6:0:0:0: rejecting I/O to offline device

All it does is move the enabling of target mode to the end of the
applyConfiguration subroutine. The key seems to be that target mode must
be enabled after SCST device and group assignments are configured. 

From Brad Johnson <bjohnson@proficientsolutionsinc.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@85 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2007-01-24 13:31:00 +00:00
Mark Buechler
58a08724ca Increase sleep for init script between stop/start
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@34 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-14 18:44:47 +00:00
Vladislav Bolkhovitin
5410bf4f3b The initial commit of 0.9.5-pre1 version
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@33 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2006-11-14 12:56:57 +00:00