Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 07:09:05 -0700
From:      Matthew Jacob <mj@feral.com>
To:        freebsd-fs@freebsd.org
Subject:   Re: fsync(2) and on-disk write-back cache
Message-ID:  <4C7D0D01.7000009@feral.com>
In-Reply-To: <20100831113851.6d449628@ernst.jennejohn.org>
References:  <20100830225841.GA9363@cons.org> <20100831113851.6d449628@ernst.jennejohn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  On FreeBSD, BIO_FLUSH is used to communicate between the 
filesystem./buffer cache's desire to flush out and the low level cache.

> I may be wrong, but it seems to me that the actual cache flush on the
> disk is handled at a very low level - in the drivers.
>
> At least I'm pretty certain that e.g. the ahci code sends flush commands
> to the disks.
>
> --
> Gary Jennejohn
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"




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