From owner-freebsd-hackers Sat Jun 1 05:48:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA05346 for hackers-outgoing; Sat, 1 Jun 1996 05:48:30 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA05325 for ; Sat, 1 Jun 1996 05:48:22 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id WAA17058; Sat, 1 Jun 1996 22:43:46 +1000 Date: Sat, 1 Jun 1996 22:43:46 +1000 From: Bruce Evans Message-Id: <199606011243.WAA17058@godzilla.zeta.org.au> To: dufault@hda, terry@lambert.org Subject: Re: Breaking ffs - speed enhancement? Cc: hackers@FreeBSD.ORG Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Even with _POSIX_SYNCHRONOUS_IO and nothing opened *SYNC (that is, >you can be as aggressive as you are clever), POSIX requires that >the file access times be updated when a "stat" or "fstat" happens >and when no process has the file open. This precludes a standard >way of efficiently handling files that are being rapidly opened >and closed where you don't care about the access times. I think >they should have changed this part of the spec when they defined >the sychronous I/O to let you only update the access fields when >the associated I/O takes place, permitting standard "aggressively >asynchronous" behavior. It already permits agressive async behaviour, because update has nothing to do with writing to disk. It just requires the update marks (if any) to be converted to actual timestamps. Bruce