Date: Sat, 17 Oct 1998 00:29:06 -0700 From: Mike Smith <mike@smith.net.au> To: Warner Losh <imp@village.org> Cc: hackers@FreeBSD.ORG Subject: Re: softupdates and sync Message-ID: <199810170729.AAA01257@dingo.cdrom.com> In-Reply-To: Your message of "Sat, 17 Oct 1998 01:17:12 MDT." <199810170717.BAA00645@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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. It's "normal", but it shouldn't take minutes; the buckets are meant to cycle around every 30 seconds or so. You haven't tweaked the update timer by any chance, have you? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810170729.AAA01257>