]> Git Repo - linux.git/commit
ceph: fix race between cap issue and revoke
authorYan, Zheng <[email protected]>
Tue, 2 Jul 2013 04:40:21 +0000 (12:40 +0800)
committerSage Weil <[email protected]>
Wed, 3 Jul 2013 22:32:57 +0000 (15:32 -0700)
commit6ee6b95373dfa1d0a4c9bc76689ec10a60c1d6f2
tree7173050cd5f444db41e62b5d1d6b813042dca0e1
parentb1530f57042297f85330a140a6921b6f95fe74d3
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 <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
fs/ceph/caps.c
This page took 0.047641 seconds and 4 git commands to generate.