From mboxrd@z Thu Jan 1 00:00:00 1970 From: UZAIR LAKHANI Subject: Re: Wrapper fs Code (wrapfs) Date: Wed, 9 Aug 2006 03:53:35 -0700 (PDT) Message-ID: <20060809105335.93300.qmail@web37510.mail.mud.yahoo.com> References: <20060808154155.GA1654@filer.fsl.cs.sunysb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from web37510.mail.mud.yahoo.com ([209.191.91.157]:11642 "HELO web37510.mail.mud.yahoo.com") by vger.kernel.org with SMTP id S1030669AbWHIKxf (ORCPT ); Wed, 9 Aug 2006 06:53:35 -0400 To: Josef Sipek In-Reply-To: <20060808154155.GA1654@filer.fsl.cs.sunysb.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --- Josef Sipek wrote: > On Tue, Aug 08, 2006 at 12:57:29AM -0700, UZAIR > LAKHANI wrote: > > --- Josef Sipek wrote: > > > The data is cached in the page cache. > > > > Can we not by some way invalidate the old page and > > force the kernel to read the actual page i.e. can > we > > not by any way by-pass the page cache for wrapfs > read. > > Currently, no. We (the stackable fs) would need to > invalidate the page > associated with ext3. ext3 won't invalidate our > pages, so we would have to > do it ourselves. To do that, we'd need some kind of > callback so that when an > ext3 page changes, we can propagate the change. Thanks for the consistent and regular replies. Can you please give some more details about the callback idea. Do we will need to change the kernel code to implement this callback idea but this will require kernel re-compilation. Can we solve the problem by implementing our own address space operations. One more question, as far as I know, distributed file systems (e.g NFS) are also like a wrapper fs on server side. How then these distributed file systems handle cache coherency problem. Thanks, Uzair Lakhani > > > How ext3 e.g. always get the updated data on read. > > I am not sure what you mean. > > Josef "Jeff" Sipek. > > -- > The reasonable man adapts himself to the world; the > unreasonable one > persists in trying to adapt the world to himself. > Therefore all progress > depends on the unreasonable man. > - George Bernard Shaw > - > To unsubscribe from this list: send the line > "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at > http://vger.kernel.org/majordomo-info.html > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com