From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: Cachefiles question Date: Fri, 08 May 2009 15:11:07 +0100 Message-ID: <9390.1241791867@redhat.com> References: <20090508125425.GK18351@ics.muni.cz> Cc: dhowells@redhat.com, linux-fsdevel@vger.kernel.org, nfsv4@linux-nfs.org To: Lukas Hejtmanek Return-path: Received: from mx2.redhat.com ([66.187.237.31]:33444 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754285AbZEHOLU (ORCPT ); Fri, 8 May 2009 10:11:20 -0400 In-Reply-To: <20090508125425.GK18351@ics.muni.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Lukas Hejtmanek wrote: > what is fscache newly added into mainline supposed to do? > > I thought it is used as writeback cache and read cache for network file > systems. But it appears that it does not do any writeback and it seems it > caches only few reads. It only caches files on NFS that are opened for reading at the moment due to coherency issues. > however, after the build is complete: > /opt/fscache# du -sm > 2 . Is there anything in dmesg? And can you check /proc/fs/fscache/stats? David