]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: only set MClientCaps::FLAG_SYNC when flushing dirty auth caps
authorJeff Layton <jlayton@redhat.com>
Mon, 6 Apr 2020 16:26:30 +0000 (12:26 -0400)
committerJeff Layton <jlayton@redhat.com>
Tue, 7 Apr 2020 23:06:06 +0000 (19:06 -0400)
commit63e4ee0e9fe3654dcd680e7e8271870fbd295215
tree8ce30be3165cdc30bace9630b86cd6f6fcfa9e87
parenta5ade11a313c6e3811774eca42a523ee7baf0c1e
client: only set MClientCaps::FLAG_SYNC when flushing dirty auth caps

Sidharth noticed that we were probably doing more FLAG_SYNC cap flushes
than necessary.

This flag is intended for sync/fsync type activity, and in those cases
all we care about is cleaning dirty caps. We have no need to expedite
other types of cap calls (releases, revokes, etc.).

Fixes: https://tracker.ceph.com/issues/44963
Reported-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/client/Client.cc