Fix #2215
closedceph-fuse does not invalidate page cache
Description
Right now the userspace client doesn't invalidate the page cache when it loses the cache capability on an inode. Apparently this is due to deadlock with the way that FUSE invalidation interacts with our implementation.
Obviously we'll need to fix it sometime before we tell people the filesystem is production ready.
Updated by Sam Lang over 11 years ago
- Status changed from New to 7
- Assignee set to Sam Lang
Updated by Sage Weil over 11 years ago
- Project changed from Ceph to CephFS
- Category deleted (
11)
Updated by Sam Lang over 11 years ago
Running in teuthology with the multiclient test, I see a segfault in one of the fuse clients on the plana nodes. With the addition of a sleep in the thread before calling the ino_invalidate_cb, the segv is reproducible.
The problem is in the ceph-fuse.cc and fuse_ll.cc code. Teardown of the fuse session and channel was happening before we called Client::unmount, which breaks with the unmount calling the invalidate callback for inodes.
The proposed fix in wip-2215 is to separate out the fuse finalize code from ceph_fuse_ll_main and call it after the Client::unmount finishes.
Updated by Ian Colle about 11 years ago
- Translation missing: en.field_story_points set to 1.00
Updated by Greg Farnum about 11 years ago
- Target version changed from v0.59 to v0.60
Updated by Greg Farnum about 11 years ago
- Target version changed from v0.60 to v0.59
Updated by Sam Lang about 11 years ago
I add the fuse_use_invalidate_cb: true option in the ceph-qa-suite to the basic and verify fs suites (in the btrfs.yamls for now). Once those pass reliably we can adjust the default in the config.
Updated by Greg Farnum about 11 years ago
Which automatic tests actually run those? I'm not sure that the nightlies do so right now.
Updated by Sage Weil about 11 years ago
- Target version changed from v0.59 to v0.60
Updated by Sam Lang about 11 years ago
Those tests are part of the full regression test suite.
Updated by Greg Farnum about 11 years ago
- Status changed from 7 to Resolved
Sage is turning it on by default now following weeks of testing in the nightlies!