commit | 6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Tue Jul 02 12:40:21 2013 +0800 |
committer | Sage Weil <sage@inktank.com> | Wed Jul 03 15:32:57 2013 -0700 |
tree | 7173050cd5f444db41e62b5d1d6b813042dca0e1 | |
parent | b1530f57042297f85330a140a6921b6f95fe74d3 [diff] |
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>