From owner-freebsd-hackers Sun Oct 18 23:30:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25163 for freebsd-hackers-outgoing; Sun, 18 Oct 1998 23:30:45 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA25157 for ; Sun, 18 Oct 1998 23:30:43 -0700 (PDT) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zV8pW-0007L0-00; Mon, 19 Oct 1998 00:30:10 -0600 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id AAA19799; Mon, 19 Oct 1998 00:30:08 -0600 (MDT) Message-Id: <199810190630.AAA19799@harmony.village.org> To: Peter Jeremy Subject: Re: softupdates and sync Cc: hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 19 Oct 1998 07:05:13 +1000." <98Oct19.070445est.40346@border.alcanet.com.au> References: <98Oct19.070445est.40346@border.alcanet.com.au> Date: Mon, 19 Oct 1998 00:30:07 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <98Oct19.070445est.40346@border.alcanet.com.au> Peter Jeremy writes: : > Flush the dirty buffers to disk? : sync(2) requests that all dirty buffers get flushed, it just doesn't : wait for the flush to complete. No, it doesn't schedule the writes even. I get no disk traffic after the sync happens. The disk just sits there, but when I do an umount, lots and lot of traffic happens. I've waited as long as 5 minutes for the sync to complete, but no disk traffic happens in this time, but when I umount the disk, I get 30+seconds of solid disk activity. Eg: rm -rf /fred/some-big-dir sync umount /fred Shouldn't sync schedule those 30 seconds of write to happen after I hit return, but before I get my prompt back? I don't think that it is... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message