Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 1998 21:06:28 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        fs@FreeBSD.ORG
Subject:   Re: lazy syncing of timestamps for special files 
Message-ID:  <2086.898715188@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 25 Jun 1998 02:02:34 %2B1000." <199806241602.CAA24267@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199806241602.CAA24267@godzilla.zeta.org.au>, Bruce Evans writes:
>These changes implement delaying until vnode reclamation time of writing
>timestamps for special files.  This is most useful for preventing
>disk activity on laptops just because something wrote to a terminal
>(see PR5577 for a broken version).
>
>Please review.

I think the first part of {ffs,ext2}_update() should be put in an
ufs_update() function which is called from those two places.  
Otherwise that rather hairy bit of code is going to suffer from even
more cut&paste deterioration in the future.

Otherwise it looks good.

I'll run it on my laptop and see if I notice anything...

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2086.898715188>