Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 14:30:43 +0100 (CET)
From:      Claude Buisson <ubc@paris.framatome.fr>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Kirk McKusick <mckusick@mckusick.com>, Mike Silbersack <silby@silby.com>, Valentin Nechayev <netch@iv.nn.kiev.ua>, "David W. Chapman Jr." <dwcjr@inethouston.net>, <stable@FreeBSD.ORG>
Subject:   Re: Softupdates failure during buffer syncing at shutdown (was Re: cvs commit: src/sys/ufs/ffs ffs_softdep.c) 
Message-ID:  <20020222142916.O8614-100000@eve.framatome.fr>
In-Reply-To: <200202211908.g1LJ8UK98232@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 21 Feb 2002, Matthew Dillon wrote:

>     Great!  Thanks for tracking this down for us, Kirk, it would have
>     taken me a lot longer.
>
>     I don't want to mess around with the sysdaemon shutdown code so what
>     I have done is incorporated the io_sync call into the shutdown code.
>     Considering the potential complexity in softupdates I wait until
>     normal flushing is as done as it is going to get (just in case
>     softupdate's sync crashes or panics) and then I call bioops.io_sync in
>     the remaining loop iterations.
>
>     I have tested it and it works like a charm!  I now get:
>
> 	syncing disks... 110 21 16 14 13 12 11 11 11 11 11 11 11
> 	done
>
>     And, bang, on the 6th iteration after it can't sync any more it calls
>     io_sync and its happy.
>
>     This will be going into -current today and -stable in three days.
>

Seems it had been applied to -stable, and not to -current ...

Claude Buisson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020222142916.O8614-100000>