Now posix_fallocate will be correctly forwarded to fuse file system
servers, for those that support it.
MFC after: 2 weeks
Differential D33389
fusefs: implement VOP_ALLOCATE asomers on Dec 11 2021, 8:31 PM. Authored by Tags None Referenced Files
Details Now posix_fallocate will be correctly forwarded to fuse file system MFC after: 2 weeks Test cases added
Diff Detail
Event TimelineComment Actions I don't know if fuse does this by default, but if IO_SYNC is Just fyi, in case you were not aware of it. Comment Actions I was not aware of that. It looks like the NFS server will set IO_SYNC? Is there any other way call it with that flag set? FUSE has no equivalent, but I could follow the FUSE_ALLOCATE with a call to FUSE_FSYNC. Comment Actions I am not aware of any other way that IO_SYNC can get Comment Actions This is going to take me awhile. I can't use my usual test suite, so I need to test with an actual fuse file system exported over NFS. But to do that, I first need to write a FUSE file system that works with NFS 4.2 and posix_fallocate. Comment Actions Sure, I don't see this as anywhere near urgent. crashes just after doing the VOP_ALLOCATE() and loses the changes. Comment Actions Oh, and because this (plus the cred argument) are not in stable/13, |