summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-07-02 06:40:21 +0200
committerSage Weil <sage@inktank.com>2013-07-04 00:32:57 +0200
commit6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2 (patch)
tree7173050cd5f444db41e62b5d1d6b813042dca0e1 /net
parentceph: fix cap revoke race (diff)
downloadlinux-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