DragonFly commits List (threaded) for 2012-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix sync() system call
commit 904805eac126f39eac09b5360a109c2a5b38367a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Wed Dec 12 23:19:43 2012 -0800
kernel - Fix sync() system call
* The sync() system call was syncing the filesystems MNT_NOWAIT | MNT_LAZY.
We need the MNT_NOWAIT to avoid an endless sync on a busy filesystem, but
MNT_LAZY is another issue entirely.
* Remove the MNT_LAZY from the sync() system call, it can cause whole
files to not be synced. It is meant only to be used by the automatic
kernel 30-second sync (which eventually gets everything flushed out).
Summary of changes:
sys/kern/vfs_syscalls.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/904805eac126f39eac09b5360a109c2a5b38367a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]