Bug#620663: grub-pc hangs after upgrading lenny to squeezy

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sun Apr 3 21:24:52 UTC 2011


On 03.04.2011 23:05, Dio Brando wrote:
> # time strace -S time -tt
> /usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe
> --device /dev/sda1 --target=fs_uuid -v > /tmp/probe_strace 2>&1
>
> real    5m2.368s
> user    0m0.080s
> sys     0m0.092s
>
> log attached at this email.
Looks like the time comes from calling BLKFLSBUF. Attached patch makes
BLKFLSBUF only on write.

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: readasync.diff
Type: text/x-diff
Size: 1941 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110403/68a63b65/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110403/68a63b65/attachment.pgp>


More information about the Pkg-grub-devel mailing list