Page MenuHomeFreeBSD

fusefs: add more tests for buggy FUSE servers
ClosedPublic

Authored by asomers on Jan 15 2025, 8:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 3:10 AM
Unknown Object (File)
Mon, May 18, 5:35 AM
Unknown Object (File)
May 16 2026, 1:15 AM
Unknown Object (File)
May 16 2026, 1:15 AM
Unknown Object (File)
Apr 25 2026, 7:17 AM
Unknown Object (File)
Apr 21 2026, 8:17 AM
Unknown Object (File)
Apr 20 2026, 6:53 AM
Unknown Object (File)
Apr 17 2026, 11:30 AM
Subscribers

Details

Summary
  • If a FUSE file system is NFS-exported (either by a kernel or userspace NFS server), then it must support FUSE_LOOKUP operations for ".". But if the response reports a different nodeid than the request, that's very bad. Fail the operation and warn the operator.
  • In general, a FUSE file may have a distinct "nodeid" and "inode number". But it the file system is NFS-exported (either by a kernel or userspace NFS server), then those two must match, because the NFS server will do VFS_VGET operations using the inode number. If they don't match, warn the operator.

MFC after: 2 weeks
Sponsored by: ConnectWise

Test Plan

Test cases added

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 61743
Build 58627: arc lint + arc unit