SCCS-vsn: sys/kern/vfs_syscalls.c 7.98
SCCS-vsn: sys/kern/vfs_bio.c 7.53
SCCS-vsn: sys/kern/vfs_cluster.c 7.53
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
*
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
*
- * @(#)vfs_bio.c 7.52 (Berkeley) %G%
+ * @(#)vfs_bio.c 7.53 (Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
*
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
*
- * @(#)vfs_cluster.c 7.52 (Berkeley) %G%
+ * @(#)vfs_cluster.c 7.53 (Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)vfs_syscalls.c 7.97 (Berkeley) %G%
+ * @(#)vfs_syscalls.c 7.98 (Berkeley) %G%
* Sync system call.
* Sync each mounted filesystem.
*/
* Sync system call.
* Sync each mounted filesystem.
*/
+#ifdef DIAGNOSTIC
+int syncprt = 0;
+#endif
+
struct sync_args {
int dummy;
};
struct sync_args {
int dummy;
};
} else
mp = mp->mnt_next;
} while (mp != rootfs);
} else
mp = mp->mnt_next;
} while (mp != rootfs);
+#ifdef DIAGNOSTIC
+ if (syncprt)
+ vfs_bufstats();
+#endif /* DIAGNOSTIC */