We've already got the flag and a mechanism for setting it. It's the PDiscon pioctl. The flag is not global now but could be.
I suppose I should write something up. I think at this point it might be better to start from scratch with the old discon code and papers as a guide rather than to try to port the old code. The steps are, roughly: 1. Make afs_Analyze fail if disconnected 2. Fix read vnode ops to use cached data if available, else fail 3. Fix write vnode ops to modify the cache, and log the operation 4. Add code to replay the log after reconnection 5. Add code to pickle the vcache and dcache across restarts 6. Write the optimizer I'm sure I left something out. _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
