Re: Call uvm_vnp_uncache() before VOP_RENAME()

2022-05-24 Thread Mark Kettenis
> Date: Tue, 24 May 2022 14:23:46 +0200 > From: Martin Pieuchot > > On 17/05/22(Tue) 16:55, Martin Pieuchot wrote: > > nfsrv_rename() should behave like dorenameat() and tell UVM to "flush" a > > possibly mmap'ed file before calling VOP_RENAME(). > > > > ok? > > Anyone? Makes sense to me. ok

Re: Call uvm_vnp_uncache() before VOP_RENAME()

2022-05-24 Thread Martin Pieuchot
On 17/05/22(Tue) 16:55, Martin Pieuchot wrote: > nfsrv_rename() should behave like dorenameat() and tell UVM to "flush" a > possibly mmap'ed file before calling VOP_RENAME(). > > ok? Anyone? > Index: nfs/nfs_serv.c > === > RCS

Call uvm_vnp_uncache() before VOP_RENAME()

2022-05-17 Thread Martin Pieuchot
nfsrv_rename() should behave like dorenameat() and tell UVM to "flush" a possibly mmap'ed file before calling VOP_RENAME(). ok? Index: nfs/nfs_serv.c === RCS file: /cvs/src/sys/nfs/nfs_serv.c,v retrieving revision 1.120 diff -u -p