git: hammer2: Improve bulkfree console logging

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 17 22:17:56 PDT 2019


commit d1b65214d31d510109b8e6032e445d94270ec55d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Apr 17 22:14:23 2019 -0700

    hammer2: Improve bulkfree console logging
    
    * Improve console logging, only print one buf= line and make the
      'pass' lines fit in 80 columns.  Improve the media coverage
      message so users are not confused.
    
    * There is no need to allocate an excessively-large buffer when
      the bitmap for the entire media fits.  Cap the buffer size for
      this case.

Summary of changes:
 sys/vfs/hammer2/hammer2_bulkfree.c | 59 +++++++++++++++++++++++++++++++-------
 1 file changed, 48 insertions(+), 11 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list