aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMarc Dionne <[email protected]>2022-12-02 10:19:42 -0400
committerDavid Howells <[email protected]>2023-05-02 17:23:50 +0100
commit9ea4eff4b6f4f36546d537a74da44fd3f30903ab (patch)
tree4d326e5be90cb5705b54d031db95cd8d2fd9e7e8 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent45f66fa03ba9943cca5af88d691399332b8bde08 (diff)
afs: Avoid endless loop if file is larger than expected
afs_read_dir fetches an amount of data that's based on what the inode size is thought to be. If the file on the server is larger than what was fetched, the code rechecks i_size and retries. If the local i_size was not properly updated, this can lead to an endless loop of fetching i_size from the server and noticing each time that the size is larger on the server. If it is known that the remote size is larger than i_size, bump up the fetch size to that size. Fixes: f3ddee8dc4e2 ("afs: Fix directory handling") Signed-off-by: Marc Dionne <[email protected]> Signed-off-by: David Howells <[email protected]> cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions