diff options
author | 2017-12-11 17:13:34 +0000 | |
---|---|---|
committer | 2017-12-11 17:13:34 +0000 | |
commit | eb0574e82a271fada347a3660394436adf1a858d (patch) | |
tree | 446672a189aa5649005b707d83ffd8da9e1e0832 /sys | |
parent | Format the vnode lists of ddb show mount properly in columns. (diff) | |
download | wireguard-openbsd-eb0574e82a271fada347a3660394436adf1a858d.tar.xz wireguard-openbsd-eb0574e82a271fada347a3660394436adf1a858d.zip |
Disable DIOCCACHESYNC code, which I believe does the opposite
and can cause pending IO's on wd(4) to be thrown away. Still
trying to find a solution.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index fb56e0de556..15c0722cd62 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.167 2017/12/11 05:27:40 deraadt Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.168 2017/12/11 17:13:34 deraadt Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -457,6 +457,7 @@ success: fs->fs_flags &= ~FS_DOSOFTDEP; } ffs_sbupdate(ump, MNT_WAIT); +#if 0 if (ronly) { int force = 0; @@ -467,6 +468,7 @@ success: VOP_IOCTL(ump->um_devvp, DIOCCACHESYNC, &force, FWRITE, FSCRED, p); } +#endif } return (0); |