diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-12-17 07:44:25 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-12-27 10:08:28 -0700 |
commit | 1143be17d7acb02a7c4dba6169a33534983f4960 (patch) | |
tree | a38e069c08e41b4053629fce8474450cb576a620 /tools/perf/scripts/python/task-analyzer.py | |
parent | ce9464081d5168ee0f279d6932ba82260a5b97c4 (diff) |
io_uring/rw: don't mask in f_iocb_flags
A previous commit changed overwriting kiocb->ki_flags with
->f_iocb_flags with masking it in. This breaks for retry situations,
where we don't necessarily want to retain previously set flags, like
IOCB_NOWAIT.
The use case needs IOCB_HAS_METADATA to be persistent, but the change
makes all flags persistent, which is an issue. Add a request flag to
track whether the request has metadata or not, as that is persistent
across issues.
Fixes: 59a7d12a7fb5 ("io_uring: introduce attributes for read/write and PI support")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions