Date: Wed, 27 Jun 2001 15:50:11 -0700 (PDT) From: Umesh Krishnaswamy <umesh@juniper.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/28465: Enabling softupdates on a clean but active filesystem can panic the kernel Message-ID: <200106272250.f5RMoB291752@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/28465; it has been noted by GNATS. From: Umesh Krishnaswamy <umesh@juniper.net> To: Dima Dorfman <dima@unixfreak.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/28465: Enabling softupdates on a clean but active filesystem can panic the kernel Date: Wed, 27 Jun 2001 15:50:05 -0700 On Wed, Jun 27, 2001 at 03:45:30PM -0700, Dima Dorfman wrote: > Umesh Krishnaswamy <umesh@juniper.net> writes: > > On Wed, Jun 27, 2001 at 03:01:01PM -0700, Dima Dorfman wrote: > > > Umesh Krishnaswamy <umesh@juniper.net> writes: > > > > > > > > >Number: 28465 > > > > >Category: kern > > > > >Synopsis: Enabling softupdates on a clean but active filesystem can pa > > > > >Description: > > > > If you do a bunch of reads and writes to a filesystem, then mount it > > > > rdonly and enable softupdates, tunefs will allow you to do so, but > > > > the kernel will panic shortly afterwords with the following stack trace. > > > > > > I think the real bug is that downgrading to read-only doesn't work > > > properly. > > > > If that is the case, then we should patch tunefs to check if the > > filesystem is active. This patch can be applied to RELENG_4. The > > mainline code is slightly different. > > All this does is cover up the bug, and makes it harder for someone to > fix it by making them go hack tunefs :-). Unix traditionally allows > the user to do silly things. Of course, this isn't documented as a > silly thing; that should probably be fixed. Of course, all of this is > assuming that my assertion that downgrading to read-only doesn't work > as it should; it may have been fixed since I experimented with it, and > what you're seeing may be entirely different. > > Your patch also has a multitude of style bugs, such as four-space > primary indents and lines over 80 characters. > Fine, don't use it. I would rather see the softdep fixed rather than tunefs. Umesh. > Dima Dorfman > dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106272250.f5RMoB291752>