Commit 2768e2e3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent acb8f52c
......@@ -884,7 +884,7 @@ func (f *BigFile) invalidateBlk(ctx context.Context, blk int64) (err error) {
st := fsconn.FileNotifyStoreCache(frev.Inode(), off, blkdata)
if st != fuse.OK {
log.Errorf("BUG: %s: invalidate blk #%d: %s: store cache: %s (ignoring, but reading @revX/bigfile will be slow)", f.path(), blk, frev.path, st)
log.Errorf("BUG: %s: invalidate blk #%d: %s: store cache: %s (ignoring, but reading @revX/bigfile will be slow)", f.path(), blk, frev.path(), st)
}
}()
}
......
......@@ -86,10 +86,10 @@ func TestZBlk(t *testing.T) {
binary.BigEndian.PutUint32(data[i*4:], i)
}
z0Data, err := z0.loadBlkData(ctx); X(err)
z0Data, _, err := z0.loadBlkData(ctx); X(err) // FIXME check rev
assert.Equal(z0Data, data, "ZBlk0 data wrong")
z1Data, err := z1.loadBlkData(ctx); X(err)
z1Data, _, err := z1.loadBlkData(ctx); X(err) // FIXME check rev
if false {
fmt.Printf("%#v\n", z1Data)
}
......
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