From owner-freebsd-hackers Sat Oct 17 00:17:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA06913 for freebsd-hackers-outgoing; Sat, 17 Oct 1998 00:17:47 -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 AAA06908 for ; Sat, 17 Oct 1998 00:17:46 -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 0zUQc3-0004c7-00; Sat, 17 Oct 1998 01:17:19 -0600 Received: (from imp@localhost) by harmony.village.org (8.9.1/8.8.3) id BAA00645 for hackers@freebsd.org; Sat, 17 Oct 1998 01:17:12 -0600 (MDT) Date: Sat, 17 Oct 1998 01:17:12 -0600 (MDT) From: Warner Losh Message-Id: <199810170717.BAA00645@harmony.village.org> To: hackers@FreeBSD.ORG Subject: softupdates and sync Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Question, If I remove a huge directory with on a volume that has soft updates enabled, then my df avail stat doesn't change (although the rm happens very very fast). So, I type sync, and there isn't much disk activity and the df stat is still the same. So I wait a while, no disk activity. After 5 minutes I unmount and remount the volume. The unmout causes a huge amount of traffic to the disk. On remount the missing space reappears. This seems odd to me, but is it normal? Is it normal to have lots of unwritten blocks after a sync command has been issued? Seems, on its surface, to be a bug to me. I can understand the df stats not updating until the space is actually gone, but to have sync not write out all the softupdate deferred writes seems wrong somehow. Softly Yours, Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message