kernel - Try to improve 'Warning: vfsync skipped dirty bufs'... messages
commitb1969588c5c80496332804bc895aee82ff51d671
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 10 Jun 2016 18:03:18 +0000 (10 11:03 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 10 Jun 2016 18:12:24 +0000 (10 11:12 -0700)
tree8566953d8f81a8216a6c2b9692be955e89268b3d
parent63a5224a584a280289820c8f5b4b49e5fa184f32
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.
sys/kern/vfs_bio.c
sys/kern/vfs_subr.c