• Yan, Zheng's avatar
    ceph: fix cache revoke race · 9563f88c
    Yan, Zheng authored
    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>
    9563f88c
super.h 27.2 KB