From: Lukas Hejtmanek Subject: Cachefiles question Date: Fri, 8 May 2009 14:54:25 +0200 Message-ID: <20090508125425.GK18351@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Cc: linux-fsdevel@vger.kernel.org, nfsv4@linux-nfs.org To: David Howells Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfsv4-bounces@linux-nfs.org Errors-To: nfsv4-bounces@linux-nfs.org List-Id: linux-fsdevel.vger.kernel.org Hello, 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. I put whole Linux kernel sources on my NFS volume, mounted with fcs option, have cachefilesd running. I did: make defconfig, make -j4. I put my caching files into /opt/fscache: cat /etc/cachefilesd.conf = dir /opt/fscache however, after the build is complete: /opt/fscache# du -sm 2 . so it looks like only 2MB of total 572MB is cached. I'm I something missing= or the fscache should not be better than this? /opt is 491GB and uses XFS. even after taring whole kernel sources, fscache does not consume more free space. -- = Luk=E1=B9 Hejtm=E1nek