tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On Wed, Sep 24, 2008 at 07:38:20PM +0700, Robert Elz wrote:

>     Date:        Wed, 24 Sep 2008 10:07:19 +0000 (UTC)
>     From:        Andrew Doran <ad%NetBSD.org@localhost>
>     Message-ID:  <20080924100719.D78AE175D0%cvs.netbsd.org@localhost>
> 
>   | Prevent r/w to r/o downgrade until such time as someone has verified all
>   | the relevant file system code.
> 
> Please don't do that - I do rw -> ro "down"grades (I'd call it an upgrade...)
> all the time.   As long as you know what's up (that is, to make sure there
> is no possibility of stale data) it is fine, and causes no problems.

It is unfortunate that the feature is disabled but we don't have the code
necessary for it to work. If you are sure that your usage pattern won't
trigger any problems, then it's easy enough to disable the check that I
put in.

I do think it's a bit much to warn all users that they need to do X,
otherwise a one-liner will hose their file system. There is no reasonable
expectation of that outcome.

Andrew


Home | Main Index | Thread Index | Old Index