grub/grub-core
Vladimir 'phcoder' Serbinenko 9bfdcbbc7d Lazy device scanning.
* Makefile.util.def (libgrubkern.a): Add grub-core/kern/emu/raid.c.
	(grub-setup): Remove util/raid.c.
	* grub-core/Makefile.core.def (kernel): Add kern/emu/raid.c on emu.
	* grub-core/disk/lvm.c (scan_depth): New variable.
	(grub_lvm_iterate): Rescan if necessary.
	(find_lv): New function based on grub_lvm_open.
	(grub_lvm_open): Use find_lv. Rescan on error.
	(is_node_readable): New function.
	(is_lv_readable): Likewise.
	(grub_lvm_scan_device): Skip already found disks.
	(do_lvm_scan): New function. Move grub_lvm_scan_device inside of it.
	Stop if searched device is found and readable.
	* grub-core/disk/raid.c (inscnt): New variable.
	(scan_depth): Likewise.
	(scan_devices): New function based on grub_raid_register. Abort if
	looked for device is found.
	(grub_raid_iterate): Rescan if needed.
	(find_array): NEw function based on -grub_raid_open.
	(grub_raid_open): Use find_array and rescan.
	(insert_array): Set became_readable_at.
	* grub-core/kern/disk.c (grub_disk_dev_iterate): Iterate though "pull.
	* grub-core/kern/emu/getroot.c (grub_util_open_dm) [HAVE_DEVICE_MAPPER]:
	New function.
	(grub_util_is_lvm) [HAVE_DEVICE_MAPPER]: Use grub_util_open_dm.
	(grub_util_pull_device): New function.
	(grub_util_get_grub_dev): Call grub_util_pull_device.
	* util/raid.c: Moved to ..
	* grub-core/kern/emu/raid.c: ... here.
	(grub_util_raid_getmembers): New parameter "bootable".
	All users updated. Support 1.x.
	* include/grub/ata.h (grub_ata_dev): Change iterate prototype.
	All users updated.
	* include/grub/disk.h (grub_disk_pull_t): New enum.
	(grub_disk_dev): Change iterate prototype.
	All users updated.
	* include/grub/emu/getroot.h (grub_util_raid_getmembers) [__linux__]:
	New proto.
	* include/grub/emu/hostdisk.h (grub_util_pull_device): Likewise.
	* include/grub/lvm.h (grub_lvm_lv): New members fullname and compatname.
	* include/grub/raid.h (grub_raid_array): New member became_readable_at.
	* include/grub/scsi.h (grub_scsi_dev): Change iterate prototype.
	All users updated.
	* include/grub/util/raid.h: Removed.
2011-07-07 23:21:59 +02:00
..
boot merge mainline into net 2011-07-06 01:35:41 +02:00
bus AHCI support. 2011-06-24 00:07:55 +02:00
commands Unify sparc init with other ieee1275. 2011-07-06 20:05:26 +02:00
disk Lazy device scanning. 2011-07-07 23:21:59 +02:00
efiemu merge mainline into ahci 2011-05-16 17:17:04 +02:00
font * grub-core/font/font_cmd.c (loadfont_command): Set grub_errno 2011-05-14 22:29:27 +02:00
fs Display the path of the file when file is not found 2011-06-26 21:48:52 +02:00
gettext Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gfxmenu merge trunk 2011-04-21 11:07:10 +01:00
gnulib merge mainline into ahci 2011-05-16 17:17:04 +02:00
hello Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hook Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
io * grub-core/io/xzio.c: Fix code style issues 2011-06-24 22:37:17 +02:00
kern Simplify disk opening 2011-07-07 21:46:25 +02:00
lib CMOS support on sparc. 2011-07-05 20:24:20 +02:00
loader merge mainline into net 2011-07-02 18:52:50 +02:00
mmap sgi support 2011-05-13 16:36:05 +02:00
net Fix a memory leak 2011-07-06 18:21:24 +02:00
normal merge mainline into net 2011-07-02 18:52:50 +02:00
partmap Fix spurious warning. 2011-06-23 20:05:39 +02:00
parttool Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
script Implement time command. 2011-06-27 12:31:37 +02:00
term VGA text support in qemu-mips 2011-07-05 23:46:15 +02:00
tests Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
video Coreboot video support. 2011-06-27 08:54:55 +02:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
genmoddep.awk use objcopy instead of creating mod-*.c and mod-*.o 2010-08-29 16:43:07 +05:30
gensyminfo.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
gensymlist.sh track function symbols 2011-05-08 18:29:37 +02:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
Makefile.am merge mainline into net 2011-07-06 01:35:41 +02:00
Makefile.core.def merge mainline into lazy 2011-07-07 12:21:53 +02:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00