From owner-freebsd-bugs Tue Mar 21 14:56:57 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA09160 for bugs-outgoing; Tue, 21 Mar 1995 14:56:57 -0800 Received: (from davidg@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA09145; Tue, 21 Mar 1995 14:56:56 -0800 Date: Tue, 21 Mar 1995 14:56:56 -0800 From: David Greenman Message-Id: <199503212256.OAA09145@freefall.cdrom.com> To: ache@astral.msk.su, davidg, freebsd-bugs Subject: Changed information for PR kern/260 Sender: bugs-owner@FreeBSD.org Precedence: bulk Synopsis: msync and munmap don't bother to update mod times State-Changed-From-To: open-analyzed State-Changed-By: davidg State-Changed-When: Tue Mar 21 14:55:32 PST 1995 State-Changed-Why: I ran the test program, and it's results indicated that the time is correct (to within one minute, which is all that ls reports). I have since looked carefully at the code and determined that the VOP_UPDATE call in the vnode pager is not be sufficient to update the time. I just spoke with Kirk on the phone about this...after a half hour of talking about how the VFS layer could be changed to better implement our vnode paging, the conclusion about how to solve this problem in the short term was to use VOP_SETATTR() at unmap time (if the file had been written to) to update the modification time.