Files
scst/usr/stpgd
Bart Van Assche 8c3b87ea7f Merged revisions 6782 via svnmerge from
svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r6782 | bvassche | 2016-01-19 16:35:29 -0800 (Tue, 19 Jan 2016) | 1 line
  
  user space code: Fix the code for generating a release archive
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6783 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-20 00:38:51 +00:00
..
2015-11-06 03:40:37 +00:00
2015-11-06 03:40:37 +00:00
2015-11-06 03:40:37 +00:00
2015-11-06 03:40:37 +00:00

This is stpgd service called by the SCST core upon receiving SET TARGET
PORT GROUPS command via SCST events subsystem. In turn, stpgd calls
external script to actually modify ALUA state as requested by the SET
TARGET PORT GROUPS command via cluster manager and SCST sysfs. You can
find example of such script in scst_on_stpg file.

Reason why such dual stage approach is used is, because there is no way
from inside the kernel to control execution of external programs and
there is no way to write a service calling IOCTLs on shell.