git: HAMMER VFS - Fix deadlock which can occur under severe file

看板DFBSD_commit作者時間15年前 (2011/02/05 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 526fce4d2d2ce75e17fa89715624fe1e7349cc05 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Feb 4 11:55:02 2011 -0800 HAMMER VFS - Fix deadlock which can occur under severe filesystem pressure * Inode reflushes (a fsync occuring while the inode is still queued for a prior fsync) were not ensuring that the inode got pushed to the backend flusher. This could lead to deadlocks when the process trying to issue the flush is the syncer itself. * The problem typically occured under filesystem loads where a large number of inodes (aka due to a bulk build) are being flushed at once, and the flush is unable to finish running before the next syncer cycle comes around. Summary of changes: sys/vfs/hammer/hammer_inode.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/526fce4d2d2ce75e17fa89715624fe1e7349cc05 -- DragonFly BSD source repository
文章代碼(AID): #1DJ5i3Ut (DFBSD_commit)