diff --git a/tools/lkl/lklfuse.c b/tools/lkl/lklfuse.c index 6eb65822e8f180..611b552bb402c5 100644 --- a/tools/lkl/lklfuse.c +++ b/tools/lkl/lklfuse.c @@ -492,6 +492,13 @@ static int lklfuse_fallocate(const char *path, int mode, off_t offset, static void *lklfuse_init(struct fuse_conn_info *conn, struct fuse_config *cfg) { cfg->nullpath_ok = 1; + /* disable fuse lookup and attr caches */ + cfg->entry_timeout = 0; + cfg->attr_timeout = 0; + cfg->negative_timeout = 0; + /* lkl provides valid st_ino values */ + cfg->use_ino = 1; + return NULL; }