diff options
author | Sage Weil <sage@newdream.net> | 2009-05-14 13:57:25 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-05-14 13:57:25 -0700 |
commit | c840445512ff6110722f6975a8d0e8062944af92 (patch) | |
tree | d7143b6d4ba085fc5c8a08681d504a6cd4c5e4fd /.gitignore | |
parent | 4ba1d99eefc691441423442aa1845b7505fded46 (diff) | |
download | ceph-c840445512ff6110722f6975a8d0e8062944af92.tar.gz |
mds: break CAP_RDCACHE into CAP_SHARED, CAP_CACHE
FILE_CAP_RDCACHE was being used to mean both read access to the
file attributes (size, mtime) and permission to retain cached
data. That lead to an incorrect definition of the filelock in the
mds, and in turn bugs with multiple client access. These are now
CAP_*_SHARED (all locks) and CAP_FILE_CACHE (filelock only).
The main observed symptom was a client creating files in a
directory and a second client not seeing them, due to RDCACHE not
being revoked and rdcache_gen thus not incrementing, allowing a
dcache readdir to proceed.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions