[Bug 276002] nfscl: data corruption using both copy_file_range and mmap'd I/O

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jan 2024 02:07:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276002

--- Comment #30 from Rick Macklem <rmacklem@FreeBSD.org> ---
Alan, do you know if the test does any other
syscalls like rename or link even though they
are not listed under [weights]?

I am wondering because both nfs_rename()
and nfs_link() do VOP_FSYNC(), but they do
not call vm_object_page_clean().

Also, could you try a test run with
truncate = 0?
(The nfs_setattr() code does seem that
 it should vnode_pager_setsize(), but
 maybe more needs to be done.)
I notice ncl_vinvalbuf() only gets called
when there are dirty buffers.

-- 
You are receiving this mail because:
You are the assignee for the bug.