Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Lustre 2.1.5
-
None
-
3
-
9968
Description
Hi,
On a customer cluster, we noticed that Lustre client cache directory information is not updated when directory owner or access mode changes.
If a user tries to change owner/group or directory mode and then looks for the change from another node, the change is not visible. Moreover, the more we look, the more the cache update is delayed.
We were suspecting troubles related to LU-3671, but we checked that sync_permission is set to 1.
This problem is easy to reproduce:
Node 1 : make directory
with umask 0027
mkdir <lustre filesystem>/<new directory>
Node 2 : add directory in node2 cache
cd <lustre filesystem>/<new directory>
ls -lia
Node 1 : update directory
chmod 770 <lustre filesystem>/<new directory>
or
chown
or both
Node 2 : look for the change
ls -lia (don't wait more than 10s)
Thanks,
Sebastien.
Attachments
Issue Links
- is related to
-
LU-3240 The link count is not updated after the mkdir
-
- Resolved
-
Christopher,
I think we need to choose a different reviewer because questions is very strange and can't be implemented without MDT rewrite (a specially mdt_getattr_name_lock don't able to return lock without look to parent).
If IT_READIR was don't drop on 2.x protocol it's more easy to fix, but now it's need too much compatibility code.