summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2022-10-12 01:07:29 +0300
committerSteve French <stfrench@microsoft.com>2022-10-12 01:23:00 +0300
commit780614ce1988f9d8ab05a58b49d5506bca60b935 (patch)
treee9f56ca634449722fd53b1119f8fd2f3a63127f0 /tools/perf/scripts/python/task-analyzer.py
parentac1e8c6c95bf805c699656046aef0a05205edfbd (diff)
downloadlinux-780614ce1988f9d8ab05a58b49d5506bca60b935.tar.xz
cifs: fix skipping to incorrect offset in emit_cached_dirents
When application has done lseek() to a different offset on a directory fd we skipped one entry too many before we start emitting directory entries from the cache. We need to also make sure that when we are starting to emit directory entries from the cache, the ->pos sequence might have holes and skip some indices. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions