Commit 3e68ba25 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f7abf2e6
......@@ -626,10 +626,12 @@ func (r *Root) zhandle1(zevent zodb.CommitEvent) {
// XXX resync .zhead to zevent.tid
/* XXX reenable
// notify .wcfs/zhead
for fh := range gdebug.zhead.fhTab {
fh.Write(fmt.Sprintf("%s\n", zevent.tid)) // XXX -> fh = filesock
fh.Write(fmt.Sprintf("%s\n", zevent.Tid)) // XXX -> fh = filesock
}
*/
}
// invalidateBlk invalidates 1 file block. XXX
......@@ -1244,12 +1246,13 @@ func main() {
mkdir(root, ".wcfs", dotwcfs)
mkfile(dotwcfs, "zurl", NewStaticFile([]byte(zurl)))
// .wcfs/zhead - special file. If a user opens it, it will start to get
// tids of through whichzhead.at was, starting from the time when
// .wcfs/zhead was opened. There can be multiple openers. Once opened,
// the file must be read, as wcfs blocks waiting for data to be read.
// XXX text review.
mkfile(dotwcfs, "zhead", ...)
// .wcfs/zhead - special file channel that sends zhead.at.
//
// If a user opens it, it will start to get tids of through which
// zhead.at was, starting from the time when .wcfs/zhead was opened.
// There can be multiple openers. Once opened, the file must be read,
// as wcfs blocks waiting for data to be read.
//mkfile(dotwcfs, "zhead", ...) XXX reenable
// TODO handle autoexit
_ = autoexit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment