Does UFS2 send BIO_FLUSH to GEOM when update metadata (with softupdates)?

Martin Simmons martin at lispworks.com
Thu Nov 24 18:03:04 UTC 2011


>>>>> On Thu, 24 Nov 2011 02:37:39 +0400, Lev Serebryakov said:
> 
>   And it seems, that fflsuh() is never becomes BIO_FLUSH or BIO_WRITE
> with BIO_ORDERED flag. It looks like disaster.
> 
>   It means, that fflush() can not guarantee its contract at all!

Stdio's fflush doesn't have that contract -- it just flushes the user space
buffers, not the kernel buffers.

__Martin


More information about the freebsd-fs mailing list