Leon Koll wrote: > > N) integration in SunCluster HA NFS ? (not really OpenSolaris scope) > >> >>
Leon, This is a good point for several reasons: 1) The existing SunCluster HA NFS will just work with my changes. 2) We can optimize the SunCluster HA NFS approach. The current way that applications monitor/use the sharetab is to periodically poll the file to see if the mtime has changed. If it has, they read it in and reprocess every share. This still works with the new iks code. With the sharetab being a real file, this was costly in the sense that there were locks and plenty of stat calls. With the sharetab being a snapshot of the sharefs module contents, we could instead provide a callback mechanism for the kernel to notify the applications of change. Instead of processing N shares, only 1 share would be processed per callback. We would be migrating applications from the file interface to using sharemgr. The goal is for it to handle all of the communication with the sharetab. Thanks, Tom