git: hammer2 - Allow rm and rmdir to ignore free space reserve

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 6 20:49:19 PDT 2017


commit 568c02c60cb736b6dd309ca31d54ab8e4062ce57
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 6 20:47:23 2017 -0700

    hammer2 - Allow rm and rmdir to ignore free space reserve
    
    * Allow rm and rmdir to ignore the free space reserve.  These operations
      do eat more disk space, though if you are doing a rm -rf it's actually
      fairly minimal because H2 is able to optimize it heavily.
    
      This allows the user to free up disk space by removing files.  The user
      must still run hammer2 bulkfree (possibly twice) to actually free the
      space up.

Summary of changes:
 sys/vfs/hammer2/hammer2_vnops.c | 6 ++++++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/568c02c60cb736b6dd309ca31d54ab8e4062ce57


-- 
DragonFly BSD source repository



More information about the Commits mailing list