Commit 5a5aa765 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d13726ba
...@@ -799,14 +799,14 @@ func (f *BigFile) invalidateBlk(ctx context.Context, blk int64) error { ...@@ -799,14 +799,14 @@ func (f *BigFile) invalidateBlk(ctx context.Context, blk int64) error {
} }
// invalidateAttr invalidates file attributes in kernel cache. // invalidateAttr invalidates file attributes in kernel cache.
func (f *BigFile) invalidateAttr() error { func (f *BigFile) invalidateAttr() (err error) {
log.Error("AAA") defer xerr.Contextf(&err, "%s: invalidate attr", "XXX") // XXX -> f.path
fsconn := gfsconn fsconn := gfsconn
st := fsconn.FileNotify(f.Inode(), -1, -1) // metadata only st := fsconn.FileNotify(f.Inode(), -1, -1) // metadata only
// st != ok if st != fuse.OK {
_ = st return syscall.Errno(st)
panic("TODO") }
return nil
} }
......
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