[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #46691] grub-install always fail when installing into unpartitioned
From: |
Andrei Borzenkov |
Subject: |
[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist |
Date: |
Sat, 26 Dec 2015 07:54:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/47.0.2526.73 Chrome/47.0.2526.73 Safari/537.36 |
Follow-up Comment #3, bug #46691 (project grub):
> anyone opening file without O_DIRECT could grab stale data
> when someone else writes beneath.
That's very strong statement. It may be true, but I would like to see
reference to either kernel discussion or kernel source code.
> grub-install purges its disk cache before core.img verification,
> but this isn't effective since stale data is returned by kernel
> itself.
GRUB also performs fsync() which should synchronize filesystem and block
device state. What you describe sounds more like broken filsystem which fails
to properly implement fsync(). Now, *that* was known and I won't mind adding
workaround for this but I want to understand what we are trying to fix.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46691>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/