Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/ic



Module Name:    src
Committed By:   thorpej
Date:           Fri Jun 13 05:57:31 UTC 2003

Modified Files:
        src/sys/dev/ic: icp.c icp_ioctl.c icp_ioctl.h icpreg.h icpsp.c icpvar.h
            ld_icp.c

Log Message:
Add support for dynamic rescan of cache service logical drives, using
the ioctl issued by the ICP RAID management libraries (used by the
storcon and iirconfig tools).  This requires some infrastructure changes:
* Add a "service callback" mechanism that the ld driver (cache service)
  and the iopsp driver (raw service) can register with the icp parent.
  Right now this callback allows the children to adjust their notion of
  how many command openings are available.
* Add a mutex around the icp ioctl handler, allowing only one thread
  to execute an ioctl at a time.
* Add a way to freeze the controller command queue.  We stop all I/O
  while processing rescans (due to the semantics of icp_cmd()).
* Make icp_cmd() work when !cold.
* Add detach support to ld@icp.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/ic/icp.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/ic/icp_ioctl.c src/sys/dev/ic/icpreg.h \
    src/sys/dev/ic/icpvar.h
cvs rdiff -r1.1 -r1.2 src/sys/dev/ic/icp_ioctl.h
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/icpsp.c src/sys/dev/ic/ld_icp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index