]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: skip updating 'wanted' caps if caps are already issued
authorYan, Zheng <zyan@redhat.com>
Thu, 22 Nov 2018 07:02:36 +0000 (15:02 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 2 Jan 2019 03:09:49 +0000 (11:09 +0800)
commitd20b260ecf3f323c87ad1e6865f87e2381444546
tree710aaf461674468d02351c8932f0a2843f100c84
parent29034396398b1706db625e1abf2e6682be7130a5
client: skip updating 'wanted' caps if caps are already issued

When reading cached inode that already has Fscr caps, this can avoid
two cap messages (one updats 'wanted' caps, one clears 'wanted' caps).

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/client/Client.cc