Colin Watson 08e46ededa Speed up consecutive hostdisk operations on the same device.
* util/hostdisk.c (struct grub_util_biosdisk_data): New structure.
(grub_util_biosdisk_open): Initialise disk->data.
(struct linux_partition_cache): New structure.
(linux_find_partition): Cache partition start positions; these are
expensive to compute on every read and write.
(open_device): Cache open file descriptor in disk->data, so that we
don't have to reopen it and flush the buffer cache for consecutive
operations on the same device.
(grub_util_biosdisk_close): New function.
(grub_util_biosdisk_dev): Set `close' member.

* conf/common.rmk (grub_probe_SOURCES): Add kern/list.c.
* conf/i386-efi.rmk (grub_setup_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
* conf/sparc64-ieee1275.rmk (grub_setup_SOURCES): Likewise.
* conf/x86_64-efi.rmk (grub_setup_SOURCES): Likewise.
2010-03-14 15:39:14 +00:00
2010-02-13 18:48:33 +01:00
2010-01-20 20:40:30 +01:00
2010-03-14 16:27:54 +01:00
2010-03-14 16:27:54 +01:00
2010-03-14 16:27:54 +01:00
2009-12-29 10:04:06 +01:00
2010-03-14 16:27:54 +01:00
2010-03-14 16:27:54 +01:00
2010-02-14 20:05:09 +01:00
2010-03-14 16:27:54 +01:00
2009-12-28 01:05:47 +01:00
2010-02-07 03:06:33 +01:00
2010-03-14 16:27:54 +01:00
2010-03-14 16:27:54 +01:00
2009-12-05 16:34:27 +01:00
2010-03-14 16:27:54 +01:00
2009-12-18 03:57:32 +01:00
2009-12-24 21:54:37 +01:00
2010-03-14 16:27:54 +01:00
2010-03-14 16:27:54 +01:00
2006-04-02 08:59:23 +00:00

This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.

For now, there is not much documentation yet. Please look at the GRUB
Wiki <http://grub.enbug.org> for testing procedures.
Description
No description provided
Readme
Languages
C 82.5%
Assembly 13.6%
M4 1.4%
Shell 1.3%
Makefile 0.5%
Other 0.5%