Commit c9e3d095 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a06e0835
......@@ -795,10 +795,13 @@ retry:
// XXX no indexMu lock needed because head is Locked
// XXX stub -> TODO full δbtree | update indexLooked itself
//fmt.Printf("\nbtreeChangev: %v\n", btreeChangev)
xfiles := bfdir.indexLooked.Invalidates(btreeChangev)
// xfiles := bfdir.δFtail.Invalidates(btreeChangev)
δf := bfdir.δFtail.Update()
//fmt.Printf("xfiles: %v\n", xfiles)
for xfile := range xfiles {
file := xfile.(*BigFile)
// for xfile := range xfiles {
for _, δ := range δf.Changev {
file := δ.File
// XXX use δ.Blkv
finv, ok := toinvalidate[file]
if !ok {
finv = &fileInvalidate{} // XXX init blkmap?
......
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