Author: kib
Date: Sun Mar 25 00:44:54 2012
New Revision: 233439
URL: http://svn.freebsd.org/changeset/base/233439
Log:
MFC r232834:
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.
Modified:
stable/9/sys/ufs/ffs/ffs_vnops.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/ufs/ffs/ffs_vnops.c
==============================================================================
--- stable/9/sys/ufs/ffs/ffs_vnops.c Sun Mar 25 00:02:37 2012
(r233438)
+++ stable/9/sys/ufs/ffs/ffs_vnops.c Sun Mar 25 00:44:54 2012
(r233439)
@@ -300,7 +300,7 @@ next:
}
if (waitfor != MNT_WAIT) {
BO_UNLOCK(bo);
- return (ffs_update(vp, waitfor));
+ return (ffs_update(vp, 0));
}
/* Drain IO to see if we're done. */
bufobj_wwait(bo, 0, 0);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-stable-9
To unsubscribe, send any mail to "[email protected]"