summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@manguebit.org>2026-11-05 21:01:54 -0300
committerPaulo Alcantara <pc@manguebit.org>2026-11-09 12:35:35 -0300
commitd1bb754ab9e775b0fbb2743d3df425c25a561114 (patch)
tree9cbfec4910f29558a3328488a54a0a9eaabb5446 /tools/perf/scripts/python/flamegraph.py
parentd88a0c3a96fd6d7228d04532cecb23f23676aa2d (diff)
netfs: don't hang a read whose retry is abandoned
When ->prepare_read() fails while retrying a read, or a subrequest can't be allocated, netfs_retry_read_subrequests() marks the remaining subrequests failed without reissuing them. If none was reissued in that pass, nothing is in progress any more to wake the collector, which returned after the retry, so an offloaded read (readahead, async direct I/O) never completes and its folios stay locked. Wake the collector after abandoning, so it collects the failed subrequests and completes the request. Fixes: e2d46f2ec332 ("netfs: Change the read result collector to only use one work item") Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Paulo Alcantara <pc@manguebit.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions