]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262814
authorscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Apr 2014 07:54:17 +0000 (07:54 +0000)
committerscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Apr 2014 07:54:17 +0000 (07:54 +0000)
commitec39d5a776b62ec03ca837ffb61dcb012bcc82e2
treec300ae58b3d8cd089b89f53985ba2c7b5a0dc993
parentfb04f043a86a36d21433edde1b8bdc51383c92be
MFC r262814

- If we fail to do a non-blocking acquire of a buf lock while doing a
  waiting sync pass we need to do a blocking acquire and restart.
  Another thread, typically the buf daemon, may have this buf locked and
  if we don't wait we can fail to sync the file.  This lead to a great
  variety of softdep panics because we rely on all dependencies being
  flushed before proceeding in several cases.

Submitted by: jeffr

git-svn-id: svn://svn.freebsd.org/base/stable/10@264491 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ffs/ffs_vnops.c