Robert Millan <[EMAIL PROTECTED]> writes:

> This disk driver allows access to partitions that contain a filesystem with
> known UUID via "(UUID=xxxxxxx)" syntax.
>
> The iterator is unimplemented on purpose, because it makes the code smaller
> and it isn't useful to waste time inspecting the same devices twice while
> scanning for LVM / whatsoever.
>
> Also note that as it currently stands it is highly inefficient.  I can't
> understand why;  new UUIDs are searched everytime on each open() call, but
> this shouldn't be much of an issue since we have a disk cache in kernel to
> make that efficient.  At least, it isn't e.g. for grub_fs_probe() which is
> called multiple times.
>
> Even with this efficiency problem, since it doesn't interfere with anything
> else I'm inclined to commit it, if nobody objects.

Why didn't you just extend the search command?  I think that would be
favorable.

--
Marco




_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to