diff options
author | scottl <scottl@FreeBSD.org> | 2014-04-15 07:54:17 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2014-04-15 07:54:17 +0000 |
commit | d06a5364e17ff063e07e31b5fe45847341006157 (patch) | |
tree | c300ae58b3d8cd089b89f53985ba2c7b5a0dc993 /lib/libc/sys/__error.c | |
parent | c804ca5e7864982aa741bb5f6db7f746bf826790 (diff) | |
download | FreeBSD-src-d06a5364e17ff063e07e31b5fe45847341006157.zip FreeBSD-src-d06a5364e17ff063e07e31b5fe45847341006157.tar.gz |
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
Diffstat (limited to 'lib/libc/sys/__error.c')
0 files changed, 0 insertions, 0 deletions