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/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to