Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lklfuse: disable fuse lookup / attr cache and use lkl st_ino #543

Merged
merged 2 commits into from
Jun 4, 2024

Commits on Jun 4, 2024

  1. lklfuse: disable fuse lookup and attr caches

    As found by xfstests generic/002, fuse attr caching appears to be broken
    in that it doesn't invalidate/update st_nlink following a link or
    unlink, instead returning a stale value.
    Regardless, there's no need to enable fuse caching, given that lkl
    provides its own regular dcache.
    
    Signed-off-by: David Disseldorp <[email protected]>
    ddiss committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    d00ad61 View commit details
    Browse the repository at this point in the history
  2. lklfuse: enable fuse_config.use_ino

    lkl provides valid st_ino values via the getattr and readdir hooks, so
    it makes sense to have fuse use them.
    
    Signed-off-by: David Disseldorp <[email protected]>
    ddiss committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    b8618cd View commit details
    Browse the repository at this point in the history