|
grub fails to properly sync xfs: msg#00002boot-loaders.grub.bugs
I'm using grub 0.95+cvs200406 on Debian GNU/Linux. Under XFS, sync() does not suffice to force data from the log/journal onto the disk so that the raw device can see it. With XFS the data is only forced into the on-disk journal. Instead, one must freeze to force it to completely write it to disk, and then immediately thaw to allow continued writing. So I think perhaps in these cases instead of "sync ()" found in grub/asmstub.c, grub/main.c, and lib/device.c; in the case of XFS, perhaps xfsctl (#include <xfs/libxfs.h>) should be used with XFS_IOC_FREEZE and then after flushing is finished, XFS_IOC_THAW to allow continued writing. -- Encrypted Mail Preferred: Key ID: 8527B9AF Key Fingerprint: E1B6 40B6 B73F 695E 0D3B 644E 6427 DD74 8527 B9AF Information: http://www.gnupg.org/ ASCII ribbon campaign: () against HTML email /\ against Microsoft attachments Information: http://www.expita.com/nomime.html
Bug-grub mailing list Bug-grub@xxxxxxx http://lists.gnu.org/mailman/listinfo/bug-grub |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [bug #12967] Error 23: Error while parsing number: 00002, anonymous |
|---|---|
| Next by Date: | Is there a nofb equivalent for grub menu display?: 00002, Reshat Sabiq |
| Previous by Thread: | [bug #12967] Error 23: Error while parsing numberi: 00002, anonymous |
| Next by Thread: | Re: grub fails to properly sync xfs: 00002, Yoshinori K. Okuji |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |