]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Make enable of disk cache statistics code configurable.
authorSzymon Janc <szymon@janc.net.pl>
Fri, 19 Aug 2011 19:28:09 +0000 (21:28 +0200)
committerSzymon Janc <szymon@janc.net.pl>
Fri, 19 Aug 2011 19:28:09 +0000 (21:28 +0200)
* 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.

1  2 
ChangeLog

diff --cc ChangeLog
index 17e2643b847e1873737f5bd1964b276763b63786,03962176834b37a2a8c52b7691447f880b41ed06..21975a2d302f8417939ad247089d7570a31233c5
+++ b/ChangeLog
@@@ -1,42 -1,3 +1,57 @@@
++2011-08-19  Szymon Janc <szymon@janc.net.pl>
++
++      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 <szymon@janc.net.pl>
 +
 +      * Makefile.am (AUTOMAKE_OPTIONS): = Added -Wno-portability flag.
 +      * grub-core/Makefile.am: Likewise.
 +
 +2011-08-16  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_iterate): Skip with
 +      non-zero pull.
 +
 +2011-08-16  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      * 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  <phcoder@gmail.com>
 +
 +      * util/grub-setup.c (main): Add missing gcry initialisation.
 +
 +2011-08-16  Vladimir Serbinenko  <phcoder@gmail.com>
 +
 +      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  <mario_limonciello@dell.com>
 +2011-08-15  Colin Watson  <cjwatson@ubuntu.com>
 +
 +      * 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  <cjwatson@ubuntu.com>
 +
 +      * util/grub-probe.c: Remove duplicate #include.
 +
  2011-08-10  Robert Millan  <rmh@gnu.org>
  
        Detect LSI MegaRAID SAS (`mfi') devices on GNU/kFreeBSD.