CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/10/23 11:39:08
Modified files:
sys/tmpfs : tmpfs_vnops.c
Log message:
Call uvm_vnp_uncache() in tmpfs_write(). We currently only call
uvm_vnp_uncache() in tmpfs_write() when a file grows in size. This
is not enough. We need to invalidate UVM's cache of the vnode every
time the contents of the vnode are modified. Failure to do so might
lead to inconsistencies between read/mmap consumers.
>From Pedro Martelletto
