grub/conf
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
..
any-emu.rmk Fix libusb compilation 2010-02-09 21:16:17 +01:00
common.rmk 2010-03-03 Colin Watson <cjwatson@ubuntu.com> 2010-03-03 10:44:12 +00:00
i386-coreboot.rmk merge mainline into newenv 2010-01-20 21:31:39 +01:00
i386-efi.rmk 2010-03-03 Colin Watson <cjwatson@ubuntu.com> 2010-03-03 10:44:12 +00:00
i386-ieee1275.rmk merge mainline into newenv 2010-01-20 21:31:39 +01:00
i386-pc-cygwin-img-ld.sc 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
i386-pc.rmk 2010-03-03 Colin Watson <cjwatson@ubuntu.com> 2010-03-03 10:44:12 +00:00
i386-qemu.rmk 2009-06-27 Pavel Roskin <proski@gnu.org> 2009-06-27 11:18:10 +00:00
i386.rmk merge mainline into setpci 2010-01-20 20:51:00 +01:00
mips-qemu-mips.rmk 2009-12-20 Robert Millan <rmh.grub@aybabtu.com> 2010-01-20 01:19:53 +00:00
mips-yeeloong.rmk 2010-03-04 Vladimir Serbinenko <phcoder@gmail.com> 2010-03-04 17:03:43 +01:00
mips.rmk 2010-03-04 Vladimir Serbinenko <phcoder@gmail.com> 2010-03-04 17:03:43 +01:00
powerpc-ieee1275.rmk Initial implementation of ofwclock 2010-02-07 22:56:25 +01:00
sparc64-ieee1275.rmk Speed up consecutive hostdisk operations on the same device. 2010-03-14 15:39:14 +00:00
tests.rmk build only functional tests on make 2010-01-12 15:49:40 +05:30
x86_64-efi.rmk 2010-03-03 Colin Watson <cjwatson@ubuntu.com> 2010-03-03 10:44:12 +00:00