grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Support RAID on virtio devices, and others


From: Felix Zielcke
Subject: Re: [PATCH] Support RAID on virtio devices, and others
Date: Sun, 25 Oct 2009 10:37:01 +0100

Am Sonntag, den 25.10.2009, 10:27 +0100 schrieb Vladimir 'phcoder'
Serbinenko:
> > find_root_device in util/getroot.c seemed to be exactly what I
> wanted:
> > it just trawls /dev for the appropriate major and minor numbers.
> This
> > code is not performance-critical, so that should be fine. 
> Not true. Even in current state grub-mkconfig is taking considerable
> time to complete on my system with numerous kernels. Unless someone
> implements a cache (it can be invalidated after 5 minutes) not to go
> through the same probing procedure on every grub-probe call I object
> against adding any additional delay in probing procedure 

We have a bug report in Debian[0] open that grub-probe is very slow due
to the use of ioctl(BLKFLSBUF)
A comment above it says this is needed due to a bug in the Linux kernel.
Is there a safe way to check if this is still needed with a recent
Kernel?
This seems to be added 2003, so things could have changed now a bit.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508834

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer





reply via email to

[Prev in Thread] Current Thread [Next in Thread]