Skip to content
Commit 9563f88c authored by Yan, Zheng's avatar Yan, Zheng
Browse files

ceph: fix cache revoke race



handle following sequence of events:

- non-auth MDS revokes Fc cap. queue invalidate work
- auth MDS issues Fc cap through request reply. i_rdcache_gen gets
  increased.
- invalidate work runs. it finds i_rdcache_revoking != i_rdcache_gen,
  so it does nothing.

Signed-off-by: default avatarYan, Zheng <zheng.z.yan@intel.com>
parent d1b87809
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment