diff options
author | kib <kib@FreeBSD.org> | 2012-03-11 20:18:14 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-03-11 20:18:14 +0000 |
commit | bb02147acb8d97c8e5463e1512889b6ba054092a (patch) | |
tree | ca99ec8130a11007de85d4a24c85ea2ed298d563 | |
parent | 76b91e402167b859c8fa885afa496cb3066eba45 (diff) | |
download | FreeBSD-src-bb02147acb8d97c8e5463e1512889b6ba054092a.zip FreeBSD-src-bb02147acb8d97c8e5463e1512889b6ba054092a.tar.gz |
In ffs_syncvnode(), pass boolean false as second argument of ffs_update().
Synchronous inode block update is not needed for MNT_LAZY callers (syncer),
and since waitfor values are not zero, code did unneccessary synchronous
update.
Submitted by: bde
Reviewed by: mckusick
Tested by: pho
MFC after: 2 weeks
-rw-r--r-- | sys/ufs/ffs/ffs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c index a4f6fbe..fd991fb 100644 --- a/sys/ufs/ffs/ffs_vnops.c +++ b/sys/ufs/ffs/ffs_vnops.c @@ -305,7 +305,7 @@ next: if (noupdate) return (0); else - return (ffs_update(vp, waitfor)); + return (ffs_update(vp, 0)); } /* Drain IO to see if we're done. */ bufobj_wwait(bo, 0, 0); |