Skip to content

Commit

Permalink
Merge pull request #543 from ddiss/libfuse3_xfstests
Browse files Browse the repository at this point in the history
David Disseldorp (2):
      lklfuse: disable fuse lookup and attr caches
      lklfuse: enable fuse_config.use_ino
  • Loading branch information
tavip authored Jun 4, 2024
2 parents 77cc0f1 + b8618cd commit 7f7bc5f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/lkl/lklfuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7f7bc5f

Please sign in to comment.