diff options
author | Joanne Koong <joannelkoong@gmail.com> | 2024-07-25 10:53:34 -0700 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2024-08-28 18:10:29 +0200 |
commit | 97f30876c94382d1b01d45c2c76be8911b196527 (patch) | |
tree | 2e97d0edad4a0afc119701462364231cc2865f8a /tools/perf/scripts/python/gecko.py | |
parent | b18915248a15eae7d901262f108d6ff0ffb4ffc1 (diff) |
fuse: check aborted connection before adding requests to pending list for resending
There is a race condition where inflight requests will not be aborted if
they are in the middle of being re-sent when the connection is aborted.
If fuse_resend has already moved all the requests in the fpq->processing
lists to its private queue ("to_queue") and then the connection starts
and finishes aborting, these requests will be added to the pending queue
and remain on it indefinitely.
Fixes: 760eac73f9f6 ("fuse: Introduce a new notification type for resend pending requests")
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Cc: <stable@vger.kernel.org> # v6.9
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions