git: hammer2 - Do not use transaction for bulkfree pass

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 8 08:50:15 PDT 2017


commit c88e038b0242d287fb83ecf8afa25983047d2d31
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 8 08:47:47 2017 -0700

    hammer2 - Do not use transaction for bulkfree pass
    
    * Remove the remaining transaction layer in bulkfree passes.  Do not
      update the modify_tid.  Generally speaking, what this code does is
      allow bulkfree to operate independent of normal flushes, which means
      it no longer stalls flushes (or vise-versa).
    
      Theoretically it should be ok for a normal flush to 'catch' bulkfree
      modifications in the middle of their work.

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

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list