vfs_subr.c (132177) | vfs_subr.c (132197) |
---|---|
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 132177 2004-07-15 04:29:48Z alfred $"); | 42__FBSDID("$FreeBSD: head/sys/kern/vfs_subr.c 132197 2004-07-15 08:01:00Z alfred $"); |
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> --- 1515 unchanged lines hidden (view full) --- 1566 printf("done.\n"); 1567 kthread_suspend_check(td->td_proc); 1568 mtx_lock(&sync_mtx); 1569 } 1570 net_worklist_len = syncer_worklist_len - sync_vnode_count; 1571 if (syncer_state != SYNCER_RUNNING && 1572 starttime != time_second) { 1573 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> --- 1515 unchanged lines hidden (view full) --- 1566 printf("done.\n"); 1567 kthread_suspend_check(td->td_proc); 1568 mtx_lock(&sync_mtx); 1569 } 1570 net_worklist_len = syncer_worklist_len - sync_vnode_count; 1571 if (syncer_state != SYNCER_RUNNING && 1572 starttime != time_second) { 1573 if (first_printf) { |
1574 printf("Syncer syncing disks, " 1575 "buffers remaining... "); | 1574 printf("Syncer syncing, vnodes remaining... "); |
1576 first_printf = 0; 1577 } 1578 printf("%d ", net_worklist_len); 1579 } 1580 starttime = time_second; 1581 1582 /* 1583 * Push files whose dirty time has expired. Be careful --- 2470 unchanged lines hidden --- | 1575 first_printf = 0; 1576 } 1577 printf("%d ", net_worklist_len); 1578 } 1579 starttime = time_second; 1580 1581 /* 1582 * Push files whose dirty time has expired. Be careful --- 2470 unchanged lines hidden --- |