[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #32472] GRUB2 does not flush data correctly after installing

From: КоренбергМарк
Subject: [bug #32472] GRUB2 does not flush data correctly after installing
Date: Sun, 10 Apr 2011 15:41:10 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Ubuntu/10.10 Chromium/10.0.648.133 Chrome/10.0.648.133 Safari/534.16

Follow-up Comment #7, bug #32472 (project grub):

> Sync is still needed
No, it's not true.

sync() will sync all data on all (including innocent) filesystems. 

So, if someone writes to another disk (suppose dropbox, email server, other
disk-heavy apps), sync() never complete, and grub hang (for the time)!

fsync() is always sufficient, even without BLKFLSBUF, but BLKFLSBUF guarantee
that data is flushed from disk hardware buffers to disk.

Never use sync() in any program. Also, sync() force kernel to allocate ALL
blocks marked for delayed allocation....


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]