DragonFly commits List (threaded) for 2012-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: DragonFly_RELEASE_3_2 kernel - Fix sync() system call
commit a2785819453b7ea4386432aded4281c91f2ed193
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/a2785819453b7ea4386432aded4281c91f2ed193
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]