diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-07-02 12:40:21 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-03 15:32:57 -0700 |
commit | 6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2 (patch) | |
tree | 7173050cd5f444db41e62b5d1d6b813042dca0e1 /net/ceph/osd_client.c | |
parent | b1530f57042297f85330a140a6921b6f95fe74d3 (diff) | |
download | talos-op-linux-6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2.tar.gz talos-op-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/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions