|
From: Goswin v. B. <gos...@we...> - 2010-05-16 14:05:22
|
hce <web...@gm...> writes:
>> Make fuse change what getattr returns when there was a change in the
>> directory (or always). The NFS should then see the directory as changed
>> and do a fresh readdir.
>
> That does not work as the application has its own cache as well,
> GETATT won't see the differencs. Anyway as I said it is a long story
> and to cut it short we need client NFS-FUSE generates both GETATT and
> READDIR every time the "ls" is typed.
>
> I've just tried
> "acregmin=0 -o acregmax=0 -o acdirmin=0 -o acdirmax=0 -o actimeo=0 -o
> timeo=0 -o retry=0 -o retrans=0 -o actimeo=0 -o noac" as Gerhard
> suggested, but the "ls" still only generated "GETATT", no "READDIR".
I guess now the NFS server hits the kernel cache so fuse doesn't call
you.
MfG
Goswin
|