git: kernel - Fix NFS server deadlock

看板DFBSD_commit作者時間15年前 (2010/09/28 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b8587f8c68a1a39ba3e0175b3c228b1431a133f8 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Sep 27 08:15:31 2010 -0700 kernel - Fix NFS server deadlock * _cache_cleanneg() was calling cache_zap() with the non-blocking argument set to FALSE, causing numerous out-of-order locking situations which could march up the topology and cause a deadlock. Fixed by calling cache_zap() with the non-blocking argument set to TRUE. * This was particularly obvious when running a buildworld with a loopback NFS mount for /usr/obj, which generates lots of negative cache activity, but theoretically could cause deadlocks even without using NFS. Reported-by: YONETANI Tomokazu <qhwt.dfly@les.ath.cx> Summary of changes: sys/kern/vfs_cache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b8587f8c68a1a39ba3e0175b3c228b1431a133f8 -- DragonFly BSD source repository
文章代碼(AID): #1CeDlzef (DFBSD_commit)