Miklos Szeredi: > > But I could understand that you are still asserting getattr is > > necessary even in the cases of may_open() or something, and that is a > > VFS lookup bug. > > Am I right? > > Yes :)
It is very hard for me that they are VFS lookup bug. If they are really VFS lookup bug, you or Tomas should ask for kernel people to fix them. > That would just be papering over the real problem, a race would still > be there, and the use of stale meta-data for network filesystems (fuse > or non-fuse) would still be there. The network filesystems should have their dentry/inode caches and reuse them within the specified period as their lifetime. After the period expired, the dentry should be revalidated and lookup (and refresh its attribute) if needed. Within the period, the staleness will be allowed since they are remote. Junjiro Okajima ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/