Subject: Re: L_COWINPROGRESS
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 07/11/2004 19:00:18
On Mon, Jul 12, 2004 at 05:35:52AM +0900, YAMAMOTO Takashi wrote:
> besides, i can't believe that lwp is a right place to put
> a filesystem specific flag.

I agree with this entirely.  this feature ought not require hacks like this.

it seems to me that if the copy-on-write is going to use the same pool
of buffers that the original fs is using, then the the COW ought to be
resolved before modifying any data that the original fs is using.
that would also avoid the recursion, but much more cleanly.

there are other ways of doing all this too.  it would be good if
this could be discussed in public and some agreement reached.

-Chuck