diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-07-02 06:40:21 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-04 00:32:57 +0200 |
commit | 6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2 (patch) | |
tree | 7173050cd5f444db41e62b5d1d6b813042dca0e1 /net | |
parent | ceph: fix cap revoke race (diff) | |
download | linux-6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2.tar.xz linux-6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2.zip |
ceph: fix race between cap issue and revoke
If we receive new caps from the auth MDS and the non-auth MDS is
revoking the newly issued caps, we should release the caps from
the non-auth MDS. The scenario is filelock's state changes from
SYNC to LOCK. Non-auth MDS revokes Fc cap, the client gets Fc cap
from the auth MDS at the same time.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions