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

Lev Serebryakov lev at FreeBSD.org
Wed Nov 23 19:00:31 UTC 2011


Hello, Freebsd-fs.

  Does UFS2 with softupdates (without journal) issues BIO_FLUSH to
GEOM layer when it need to ensure consistency on on-disk metadata?

  Does UFS2 with SU+J issues this command?

  geom_raid5 respects this command, but when write log is enabled, it
produces tons of "Unexpected softupate inconsistency" errors on crash.
It seems, that there is no BIO_FLUSH and writes, which should be
synchronous (metadata updates) isn't :(

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-fs mailing list