git: kernel - Try to improve 'Warning: vfsync skipped dirty bufs'... messages
dillon at crater.dragonflybsd.org
Fri Jun 10 11:12:28 PDT 2016
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Jun 10 11:03:18 2016 -0700
kernel - Try to improve 'Warning: vfsync skipped dirty bufs'... messages
* Use BUF_TIMELOCK instead of locking non-blocking if the vfsync()
encounters a buffer that it cannot lock.
* This should theoretically reduce (hopefully prevent) instances of the
'vfsync skipped N dirty bufs' warnings on the console which occur under
heavy filesystem loads.
* Also remove 'Warning buffer ... was recycled' kprintfs. This debugging
was originally added to determine if a particular retry path was getting
hit (it does), and is no longer needed.
Summary of changes:
sys/kern/vfs_bio.c | 2 ++
sys/kern/vfs_subr.c | 51 ++++++++++++++++++++++++++++++++++++++++++++-------
2 files changed, 46 insertions(+), 7 deletions(-)
DragonFly BSD source repository
More information about the Commits