[Bug 269328] nfs client: data corruption using fspacectl and mmap
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 269328] nfs client: data corruption using fspacectl and mmap"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Feb 2023 01:07:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269328 --- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> --- I wonder if 3b6056204dd8 that was just committed by kib@ might fix this? For a 13.1 server (which does not support the Deallocate operation), the client uses vop_stddeallocate() and it uses vn_bmap_seekhole_locked(). If it doesn't fix the problem, then I'd guess nfs_deallocate() needs a fix for the generic case where it calls vop_stddeallocate(). nfs_deallocate() does call vnode_pager_purge_range() before doing the RPC, but that won't happen against a 13.1 server. It's not clear to me how vnode_pager_purge_range() compares to doing a vm_object_page_clean()? I'll try to test against a 14 server that supports Deallocate. If you can test with a client with 3b6056204dd8 and let us know if it helps, that would be nice. -- You are receiving this mail because: You are the assignee for the bug.