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

Lev Serebryakov lev at FreeBSD.org
Wed Nov 23 22:37:45 UTC 2011


Hello, Kostik.
You wrote 23 ноября 2011 г., 23:44:44:


>> GEOM layer when it need to ensure consistency on on-disk metadata?
> No. Softupdates do not need flushes.
  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!

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



More information about the freebsd-fs mailing list