Re: nfsv4 client not reading the cache?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I still see this on 5.2.11. On further testing it seem like the RHEL7
kernels work as expected with vers=nfs4,fsc but the mainline kernels do
not. It writes the cache but then never reads from it again so we just keep
re-writing the cache.

Daire

On Sat, Apr 6, 2019 at 10:15 AM Daire Byrne <daire.byrne@xxxxxxxxx> wrote:

> Hi,
>
> I'm using the 5.0.5 ml kernel to mount a Linux server with nfsv4. When I
> enable fscache, it caches the reads to disk as expected. But as soon as I
> drop_caches on the client and re-read the same data, it caches to disk
> again, seemingly overwriting the previously cached files.
>
> It works as expected if I mount using nfsv3 instead - after dropping
> caches (or rebooting), it correctly reads the cached files from disk
> without re-writing them again.
>
> I am using the 5.0.5 kernel on a Centos 7.4 installation. The mount
> command is "mount -o vers=4.2,fsc blah:/thing /thing".
>
> Daire
>
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux