git: HAMMER VFS - Fix another low memory deadlock issue

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 23 16:39:58 PDT 2010


commit 1205225348c6b0af2fa0b8dea95c18d2dca61763
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 23 16:27:50 2010 -0700

    HAMMER VFS - Fix another low memory deadlock issue
    
    * Unlock the cursor around calls to vm_wait_nominal() to avoid deadlocking
      while holding shared node locks.
    
    * Add vm_test_nominal() which returns TRUE if vm_wait_nominal() would
      block.
    
    Reported-by: Francois Tigeot <ftigeot at wolfpond.org>

Summary of changes:
 sys/vfs/hammer/hammer_rebalance.c |    6 +++++-
 sys/vm/vm_extern.h                |    1 +
 sys/vm/vm_page.c                  |   11 +++++++++++
 3 files changed, 17 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1205225348c6b0af2fa0b8dea95c18d2dca61763


-- 
DragonFly BSD source repository





More information about the Commits mailing list