git: kernel - vfsync() use synchronous bwrite() in low-memory situations
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Sep 8 08:50:15 PDT 2017
commit aa0150ba7da7399b3e4017978cece102dd3eedbc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Sep 8 08:44:13 2017 -0700
kernel - vfsync() use synchronous bwrite() in low-memory situations
* For now, make vfsync() use a synchronous bwrite() in low-memory
situations and do not call vm_wait_nominal(). This could wind up
being a chicken-or-egg issue unfortunately.
* Addresses issues where the pageout daemon gets indirectly deadlocked
when other unrelated kernel threads (aka H2 support threads) are
flushing buffers.
Summary of changes:
sys/kern/vfs_subr.c | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa0150ba7da7399b3e4017978cece102dd3eedbc
--
DragonFly BSD source repository
More information about the Commits
mailing list