fsync(2) and on-disk write-back cache

Matthew Jacob mj at feral.com
Tue Aug 31 14:09:11 UTC 2010


  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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"



More information about the freebsd-fs mailing list