vfs_subr.c (299916) | vfs_subr.c (301040) |
---|---|
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 299916 2016-05-16 07:31:11Z avg $"); | 42__FBSDID("$FreeBSD: head/sys/kern/vfs_subr.c 301040 2016-05-31 15:27:33Z trasz $"); |
43 44#include "opt_compat.h" 45#include "opt_ddb.h" 46#include "opt_watchdog.h" 47 48#include <sys/param.h> 49#include <sys/systm.h> 50#include <sys/bio.h> --- 2047 unchanged lines hidden (view full) --- 2098 mtx_unlock(&sync_mtx); 2099 kproc_suspend_check(td->td_proc); 2100 mtx_lock(&sync_mtx); 2101 } 2102 net_worklist_len = syncer_worklist_len - sync_vnode_count; 2103 if (syncer_state != SYNCER_RUNNING && 2104 starttime != time_uptime) { 2105 if (first_printf) { | 43 44#include "opt_compat.h" 45#include "opt_ddb.h" 46#include "opt_watchdog.h" 47 48#include <sys/param.h> 49#include <sys/systm.h> 50#include <sys/bio.h> --- 2047 unchanged lines hidden (view full) --- 2098 mtx_unlock(&sync_mtx); 2099 kproc_suspend_check(td->td_proc); 2100 mtx_lock(&sync_mtx); 2101 } 2102 net_worklist_len = syncer_worklist_len - sync_vnode_count; 2103 if (syncer_state != SYNCER_RUNNING && 2104 starttime != time_uptime) { 2105 if (first_printf) { |
2106 printf("\nSyncing disks, vnodes remaining..."); | 2106 printf("\nSyncing disks, vnodes remaining... "); |
2107 first_printf = 0; 2108 } 2109 printf("%d ", net_worklist_len); 2110 } 2111 starttime = time_uptime; 2112 2113 /* 2114 * Push files whose dirty time has expired. Be careful --- 3206 unchanged lines hidden --- | 2107 first_printf = 0; 2108 } 2109 printf("%d ", net_worklist_len); 2110 } 2111 starttime = time_uptime; 2112 2113 /* 2114 * Push files whose dirty time has expired. Be careful --- 3206 unchanged lines hidden --- |