[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2016-01-09 Thread Andrei Borzenkov
Update of bug #46691 (project grub): Status:None => Fixed Open/Closed:Open => Closed ___ Follow-up Comment #9: Pushed as 269a522c7db1

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2016-01-09 Thread Taketo Kabe
Follow-up Comment #8, bug #46691 (project grub): Andrey's file #35932 patch (is_disk.patch) worked! Confirmed both on image file and real device. If this approace fixes all platforms, it's lot better than by crude alignment patch. ___ Repl

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2016-01-06 Thread Andrei Borzenkov
Follow-up Comment #7, bug #46691 (project grub): Actually we already had everything to force page cache coherency on Linux, except GRUB did not detect disks as disks. Attached patch fixes problem I observed. @Taketo: could you test attached patch? (file #35932) __

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2016-01-05 Thread Vladimir Serbinenko
Follow-up Comment #6, bug #46691 (project grub): Please don't align buffer manually. We already have a function which does it and it's cheaper. I'm not thrilled with this approach. It feels more like a workaround. We already tried O_SYNC (or was it O_DIRECT?) and it opens another can of worms, fir

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2016-01-05 Thread Andrei Borzenkov
Follow-up Comment #5, bug #46691 (project grub): I actually hit similar issue in scanning for Linux MD (GRUB reads stale superblock under some conditions), so I guess it needs to go in. Unfortunately your patch does not even compile on 64 bit system. Please clean up and submit to grub-devel for re

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2015-12-31 Thread Taketo Kabe
Follow-up Comment #4, bug #46691 (project grub): > 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 f

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2015-12-25 Thread Andrei Borzenkov
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 pu

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2015-12-17 Thread Taketo Kabe
Follow-up Comment #2, bug #46691 (project grub): This is the 32-bit version of CentOS 7 released at https://wiki.centos.org/SpecialInterestGroup/AltArch/i386 :: /etc/centos-release :: CentOS Linux release 7.1.1503 (Final) uname -a Linux corvus.five.ten 3.10.0-229.el7.i68

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2015-12-15 Thread Andrei Borzenkov
Follow-up Comment #1, bug #46691 (project grub): Which linux kernel version? Was it reported to kernel (as it sounds like kernel bug)? Do you have pointers to discussion/bug for kernel? I cannot reproduce it and I do not remember ever seeing it. __

[bug #46691] grub-install always fail when installing into unpartitioned filesystem using blocklist

2015-12-15 Thread Taketo Kabe
URL: Summary: grub-install always fail when installing into unpartitioned filesystem using blocklist Project: GNU GRUB Submitted by: kabe Submitted on: Wed 16 Dec 2015 02:53:02 AM GMT