freebsd-skq/sys/boot/uboot/lib
ae 75dfd50beb Almost each time when loader opens a file, this leads to calling
disk_open(). Very often this is called several times for one file.
This leads to reading partition table metadata for each call. To
reduce the number of disk I/O we have a simple block cache, but it
is very dumb and more than half of I/O operations related to reading
metadata, misses this cache.

Introduce new cache layer to resolve this problem. It is independent
and doesn't need initialization like bcache, and will work by default
for all loaders which use the new DISK API. A successful disk_open()
call to each new disk or partition produces new entry in the cache.
Even more, when disk was already open, now opening of any nested
partitions does not require reading top level partition table.
So, if without this cache, partition table metadata was read around
20-50 times during boot, now it reads only once. This affects the booting
from GPT and MBR from the UFS.
2012-09-29 16:47:56 +00:00
..
api_public.h Add architecture dependent code to support NAND Framework on Marvell SoCs. 2012-05-18 14:41:14 +00:00
console.c
copy.c Determine kernel load address dynamically from u-boot memory map. 2012-05-20 18:07:35 +00:00
devicename.c Use disk_fmtdev() and disk_parsedev() functions from the new DISK API. 2012-09-09 11:32:06 +00:00
disk.c Almost each time when loader opens a file, this leads to calling 2012-09-29 16:47:56 +00:00
elf_freebsd.c Determine kernel load address dynamically from u-boot memory map. 2012-05-20 18:07:35 +00:00
glue.c Add architecture dependent code to support NAND Framework on Marvell SoCs. 2012-05-18 14:41:14 +00:00
glue.h
libuboot.h Make struct uboot_devdesc compatible with struct disk_devdesc. 2012-09-09 11:30:45 +00:00
Makefile Build disk.c only when DISK_SUPPORT is enabled. 2012-09-09 11:34:27 +00:00
module.c
net.c Fix NETIF_DEBUG compilation. 2009-05-30 19:28:38 +00:00
reboot.c
time.c Minor style correction. 2010-02-25 15:30:26 +00:00