DragonFly commits List (threaded) for 2013-02
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]
git: kernel - Do not clean VM pages on fsync() for tmpfs
commit 6f2f854f2066ba30dc73c6d75d3c68578423fbc4
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Thu Feb 28 17:18:40 2013 -0800
kernel - Do not clean VM pages on fsync() for tmpfs
* tmpfs fsync()s are basically NOPs, but the kernel had some
code to clean the VM object (flush to backing store) on
fsync, which would actually cause pages to go out to swap
unnecessarily.
* Detect the appropriate flag and turn this off. Only effects
tmpfs.
* Improves poudriere and other tmpfs-related use cases.
Summary of changes:
sys/kern/vfs_syscalls.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6f2f854f2066ba30dc73c6d75d3c68578423fbc4
--
DragonFly BSD source repository
[
Date Prev][Date Next]
[
Thread Prev][Thread Next]
[
Date Index][
Thread Index]