Date: Mon, 12 Mar 2007 10:25:05 -0400 From: Mikhail Teterin <mi+kde@aldan.algebra.com> To: fs@FreeBSD.org Cc: Remko Lodder <remko@elvandar.org> Subject: Re: kern/105056: FS can not be remounted read-only, if a running process' executable was modified Message-ID: <200703121025.05538@aldan> In-Reply-To: <20070312081133.GA70090@elvandar.org> References: <200702151631.l1FGVHIg042246@freefall.freebsd.org> <op.tok0qwbjydcz4v@aldan> <20070312081133.GA70090@elvandar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 12 March 2007 04:11, Remko Lodder wrote: = Hi Mikhail, = = As far as I am aware, the filesystem can only be closed when the consumers = stopped consuming the disk. Perhaps we should move this discussion to -fs = to see what the FileSystem guru's think so that we know for sure? Moving... Of course, the filesystem can only be closed, when the consumers stop consuming. The point is, however, there are NO read-write consumers -- and yet a read-only remount remains impossible. The problem detailed in the PR is that locking an FS back down to read-only is impossible, when earlier-started processes are still running, but have had their executables overwritten. The usual scenario, again, is: * remount / read-write for `installworld' to succeed; * try to remount / back read-only, and fail... Note, that no new "consumers" of the FS have started, or have they?.. Yours, -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703121025.05538>