directory attribute cache on NFS4 client

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

 



First, some info:

NFS4 Client: Fedora 9 - 2.6.25.9-76.fc9.i686
NFS4 Server: Fedora 9 - 2.6.25.6-55.fc9.i686
exportfs: rw,fsid=0,no_root_squash,async
mount: rw,bg,retry=1,timeo=30,rsize=8192,wsize=8192

Both on a local network

The Server act as a filer to a webhosting solution. I have 2 clients (FTP and
WebServer). When someone upload and overwrite a file on FTP, normally it do it:

- UPLOAD fileA.tmp
- DELETE fileA
- RENAME fileA.tmp fileA

This operation changes the inode for "fileA" and the WebServer doesn't see the
changes, still getting the old file (old inode).

After upload, if I do a "ls -la /path/path/fileA", it returns the old stats
(inode, mtime...). But if I do a "ls -la /path/path/" this will refresh info,
and get the file correctly.

I've tried the "acdirmin" and "acdirmax" defined to 0, but didn't work. I tried
too "noac", really works but the performance cost is expensive.

I really wouldn't like back to NFS3... :)

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux