aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorYan, Zheng <[email protected]>2020-03-30 19:56:37 +0800
committerIlya Dryomov <[email protected]>2020-06-01 13:22:52 +0200
commit6f05b30ea063a2a05dda47a4105a69267ae5270f (patch)
tree41e1ba6c5d974c2a58d5019df99996063ae060d4 /tools/perf/scripts/python/Perf-Trace-Util
parent88828190f0073bd8f9aa5e2b1caf753d289c6d49 (diff)
ceph: reset i_requested_max_size if file write is not wanted
write can stuck at waiting for larger max_size in following sequence of events: - client opens a file and writes to position 'A' (larger than unit of max size increment) - client closes the file handle and updates wanted caps (not wanting file write caps) - client opens and truncates the file, writes to position 'A' again. At the 1st event, client set inode's requested_max_size to 'A'. At the 2nd event, mds removes client's writable range, but client does not reset requested_max_size. At the 3rd event, client does not request max size because requested_max_size is already larger than 'A'. 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/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions