diff options
author | Hao Xu <haoxu@linux.alibaba.com> | 2021-10-18 16:34:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-20 03:21:42 +0300 |
commit | 3b44b3712c5b19b0af11c25cd978abdc3680d5e7 (patch) | |
tree | 0c4ca719ee4faab6b8599fc5b16812ef9c04eb2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 00169246e6981752e53266c62d0ab0c827493634 (diff) | |
download | linux-3b44b3712c5b19b0af11c25cd978abdc3680d5e7.tar.xz |
io_uring: split logic of force_nonblock
Currently force_nonblock stands for three meanings:
- nowait or not
- in an io-worker or not(hold uring_lock or not)
Let's split the logic to two flags, IO_URING_F_NONBLOCK and
IO_URING_F_UNLOCKED for convenience of the next patch.
Suggested-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/20211018133431.103298-1-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions