Deleted Added
full compact
vfs_subr.c (133038) vfs_subr.c (133418)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 25 unchanged lines hidden (view full) ---

34 * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
35 */
36
37/*
38 * External virtual filesystem routines
39 */
40
41#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 25 unchanged lines hidden (view full) ---

34 * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
35 */
36
37/*
38 * External virtual filesystem routines
39 */
40
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: head/sys/kern/vfs_subr.c 133038 2004-08-02 21:52:43Z obrien $");
42__FBSDID("$FreeBSD: head/sys/kern/vfs_subr.c 133418 2004-08-10 01:32:05Z njl $");
43
44#include "opt_ddb.h"
45#include "opt_mac.h"
46
47#include <sys/param.h>
48#include <sys/systm.h>
49#include <sys/bio.h>
50#include <sys/buf.h>

--- 1522 unchanged lines hidden (view full) ---

1573 mtx_unlock(&sync_mtx);
1574 kthread_suspend_check(td->td_proc);
1575 mtx_lock(&sync_mtx);
1576 }
1577 net_worklist_len = syncer_worklist_len - sync_vnode_count;
1578 if (syncer_state != SYNCER_RUNNING &&
1579 starttime != time_second) {
1580 if (first_printf) {
43
44#include "opt_ddb.h"
45#include "opt_mac.h"
46
47#include <sys/param.h>
48#include <sys/systm.h>
49#include <sys/bio.h>
50#include <sys/buf.h>

--- 1522 unchanged lines hidden (view full) ---

1573 mtx_unlock(&sync_mtx);
1574 kthread_suspend_check(td->td_proc);
1575 mtx_lock(&sync_mtx);
1576 }
1577 net_worklist_len = syncer_worklist_len - sync_vnode_count;
1578 if (syncer_state != SYNCER_RUNNING &&
1579 starttime != time_second) {
1580 if (first_printf) {
1581 printf("\nSyncer syncing, vnodes remaining...");
1581 printf("\nSyncing disks, vnodes remaining...");
1582 first_printf = 0;
1583 }
1584 printf("%d ", net_worklist_len);
1585 }
1586 starttime = time_second;
1587
1588 /*
1589 * Push files whose dirty time has expired. Be careful

--- 2454 unchanged lines hidden ---
1582 first_printf = 0;
1583 }
1584 printf("%d ", net_worklist_len);
1585 }
1586 starttime = time_second;
1587
1588 /*
1589 * Push files whose dirty time has expired. Be careful

--- 2454 unchanged lines hidden ---