git: hammer2 - Fix corruption on sync (2)

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 19 02:09:08 PDT 2017


commit a964af6f47472894f720607ad1c1e10dd4279a65
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 19 02:07:51 2017 -0700

    hammer2 - Fix corruption on sync (2)
    
    * Looping on ONFLUSH to call RB_SCAN() can be endless due to deferrals.
      Just do it twice to catch the indirect block maintenance issue.

Summary of changes:
 sys/vfs/hammer2/hammer2_flush.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list