From: Szymon Janc Date: Fri, 19 Aug 2011 19:28:09 +0000 (+0200) Subject: Make enable of disk cache statistics code configurable. X-Git-Tag: 2.00~1135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b526cbb6fa1ff932486ff3e2e251688816dd3b7a;p=thirdparty%2Fgrub.git Make enable of disk cache statistics code configurable. * configure.ac: --enable-cache-stats added. * config.h.in (DISK_CACHE_STATS): New define. * grub-core/Makefile.core.def (cacheinfo): New command. * include/grub/disk.h(grub_disk_cache_get_performance): New function. * grub-core/commands/cacheinfo.c: New file. * grub-core/commands/minicmd.c (grub_rescue_cmd_info): Updated and moved to cacheinfo.c. * grub-core/kern/disk.c: Use DISK_CACHE_STATS to disable disk cache debug code. * include/grub/disk.h: Likewise. --- b526cbb6fa1ff932486ff3e2e251688816dd3b7a diff --cc ChangeLog index 17e2643b8,039621768..21975a2d3 --- a/ChangeLog +++ b/ChangeLog @@@ -1,42 -1,3 +1,57 @@@ ++2011-08-19 Szymon Janc ++ ++ Make enable of disk cache statistics code configurable. ++ ++ * configure.ac: --enable-cache-stats added. ++ * config.h.in (DISK_CACHE_STATS): New define. ++ * grub-core/Makefile.core.def (cacheinfo): New command. ++ * include/grub/disk.h(grub_disk_cache_get_performance): New function. ++ * grub-core/commands/cacheinfo.c: New file. ++ * grub-core/commands/minicmd.c (grub_rescue_cmd_info): Updated and ++ moved to cacheinfo.c. ++ * grub-core/kern/disk.c: Use DISK_CACHE_STATS to disable disk cache ++ debug code. ++ * include/grub/disk.h: Likewise. ++ +2011-08-19 Szymon Janc + + * Makefile.am (AUTOMAKE_OPTIONS): = Added -Wno-portability flag. + * grub-core/Makefile.am: Likewise. + +2011-08-16 Vladimir Serbinenko + + * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with + non-zero pull. + +2011-08-16 Vladimir Serbinenko + + * grub-core/fs/jfs.c (grub_jfs_read_file): New parameter ino. + All users updated. + (grub_jfs_lookup_symlink): Use correct starting inode. + +2011-08-16 Vladimir Serbinenko + + * util/grub-setup.c (main): Add missing gcry initialisation. + +2011-08-16 Vladimir Serbinenko + + Don't accept text modes on EFI when booting Linux. + + * grub-core/loader/i386/linux.c (ACCEPTS_PURE_TEXT): New define. + (grub_linux_boot) [!ACCEPTS_PURE_TEXT]: Restrict to graphics modes. + +2011-08-15 Mario Limonciello +2011-08-15 Colin Watson + + * util/grub-probe.c (probe): Canonicalise the path argument, fixing + use of "/path/.." as in grub-install for EFI as well as handling + symlinks correctly. + Fixes Debian bug #637768. + +2011-08-15 Colin Watson + + * util/grub-probe.c: Remove duplicate #include. + 2011-08-10 Robert Millan Detect LSI MegaRAID SAS (`mfi') devices on GNU/kFreeBSD.