git: Kernel - properly handle max. io size when dumping

Francois Tigeot ftigeot at crater.dragonflybsd.org
Sat Apr 7 00:57:14 PDT 2012


commit c6de20f8a94ffd8eefe2f59093a85824871e97ed
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Sat Apr 7 09:08:46 2012 +0200

    Kernel - properly handle max. io size when dumping
    
    * A magic constant was used to define the maximum IO size used when
      dumping core
    
    * Stop this practice and use the information provided by the underlying
      device driver, capping the result to MAXPHYS if needed.
    
    * This should fix issue #2343

Summary of changes:
 sys/kern/subr_disk.c                        |    1 +
 sys/platform/pc32/i386/dump_machdep.c       |    6 ++++--
 sys/platform/pc32/i386/minidump_machdep.c   |    6 ++++--
 sys/platform/pc64/x86_64/dump_machdep.c     |    6 ++++--
 sys/platform/pc64/x86_64/minidump_machdep.c |    6 ++++--
 5 files changed, 17 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c6de20f8a94ffd8eefe2f59093a85824871e97ed


-- 
DragonFly BSD source repository





More information about the Commits mailing list