Actions
Feature #20752
closedcap message flag which indicates if client still has pending capsnap
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:
Description
current mds code uses "(cap->issued() & CEPH_CAP_ANY_FILE_WR) == 0" to infer that client has no pending capsnap. there is inefficient and error-prone. Add a new flag to cap message, which indicates if client still has pending capsnap explictly.
Actions