aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYan, Zheng <[email protected]>2020-03-10 19:34:20 +0800
committerIlya Dryomov <[email protected]>2020-03-30 12:42:43 +0200
commit0aa971b6fd3f92afef6afe24ef78d9bb14471519 (patch)
tree96ba1545559e3c9dd2b29acaee2fb649f4e96862 /tools/perf/scripts/python/export-to-sqlite.py
parent42d70f8e31dfd3b795259b0d5c7ff4d4b45c24fd (diff)
ceph: don't skip updating wanted caps when cap is stale
1. try_get_cap_refs() fails to get caps and finds that mds_wanted does not include what it wants. It returns -ESTALE. 2. ceph_get_caps() calls ceph_renew_caps(). ceph_renew_caps() finds that inode has cap, so it calls ceph_check_caps(). 3. ceph_check_caps() finds that issued caps (without checking if it's stale) already includes caps wanted by open file, so it skips updating wanted caps. Above events can cause an infinite loop inside ceph_get_caps(). Signed-off-by: "Yan, Zheng" <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions