git: kernel - Fix rare buffer cache deadlock

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Dec 12 09:07:14 PST 2013


commit 65ec5030159591e86acf127d2f5deadd18311213
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Dec 12 09:01:40 2013 -0800

    kernel - Fix rare buffer cache deadlock
    
    * cluster_collectbufs() was improperly using a blocking vfs/bio calls
      to find nearby buffers, which can deadlock against multi-threaded
      filesystems.
    
    * Only occurs in the write path, probably only H2 is affected.

Summary of changes:
 sys/kern/vfs_bio.c     | 3 ++-
 sys/kern/vfs_cluster.c | 6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65ec5030159591e86acf127d2f5deadd18311213


-- 
DragonFly BSD source repository


More information about the Commits mailing list