From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Dickson Subject: Re: [PATCH][RFC] NFS: Adding hooks to enable the use of FS-Cache Date: Fri, 21 Apr 2006 11:42:29 -0400 Message-ID: <4448FD65.7060007@RedHat.com> References: <4448F6E1.2060907@RedHat.com> <1145633490.8150.17.camel@lade.trondhjem.org> Reply-To: Linux filesystem caching discussion list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Morton , linux-fsdevel@vger.kernel.org, linux-cachefs@redhat.com Return-path: To: Trond Myklebust In-Reply-To: <1145633490.8150.17.camel@lade.trondhjem.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cachefs-bounces@redhat.com Errors-To: linux-cachefs-bounces@redhat.com List-Id: linux-fsdevel.vger.kernel.org Trond Myklebust wrote: > On Fri, 2006-04-21 at 11:14 -0400, Steve Dickson wrote: > >>This patch (based on Trond's nfs-2.6 git tree) adds the hooks need to >>allow NFS to use the generic filesystem caching facility FS-Cache. >>Caching is done on a per mount bases. To activate caching, the 'fsc' >>flag is need as a mount option. >>Ex: >> mount -o fsc server:/export /mnt >> >>(binary and source rpms as well as the actual patch are available at >> http://people.redhat.com/steved/cachefs/util-linux/) > > > Hmm... Are you sure that is based on the latest trees? Just this morning I did an git fetch on my cloned nfs-2.6 tree... and everything seem to apply just fine... > AFAICS it shouldn't even apply to stock 2.6.17-rc2 since it doesn't take into > account the fact that we already use PagePrivate()+nfs_invalidatepage in > order to fix truncate races. hmm... I did not see that... so there must a disconnect somewhere... > Could you look into that please? Will do... steved.