[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: fsync(2) manual and hdd write caching
From: perryh () pluto ! rain ! com
Date: 2010-10-28 8:01:53
Message-ID: 4cc92df1.Z0CRaJOCdvd/ZJSL%perryh () pluto ! rain ! com
[Download RAW message or body]
Ivan Voras <ivoras@freebsd.org> wrote:
> ... The problem is actually pretty hard - since AFAIK SoftUpdates
> doesn't have "checkpoints" in the sense that it groups writes and
> all data "before" can guaranteed to be on-disk, the problem is
> *when* to issue BIO_FLUSH requests.
Seems to me the originally-stated problem -- making fsync(2)
do what it claims to do -- is not hard at all. Just issue a
BIO_FLUSH request as the final step in handling fsync(2).
While we're at it, perhaps do the same in close(2).
I _hope_ we are already doing it in unmount(2).
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic