diff options
| author | Jens Axboe <[email protected]> | 2025-01-03 15:02:24 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-01-06 12:51:06 +0000 |
| commit | 3347fa658a1baecd61b007787d031b729cd86537 (patch) | |
| tree | 97623883f4550fb4c6caa92fba2817000f1f18fd /tools/testing/selftests/net/lib/py/utils.py | |
| parent | io_uring/cmd: rename struct uring_cache to io_uring_cmd_data (diff) | |
| download | kernel-3347fa658a1baecd61b007787d031b729cd86537.tar.gz kernel-3347fa658a1baecd61b007787d031b729cd86537.zip | |
io_uring/cmd: add per-op data to struct io_uring_cmd_data
In case an op handler for ->uring_cmd() needs stable storage for user
data, it can allocate io_uring_cmd_data->op_data and use it for the
duration of the request. When the request gets cleaned up, uring_cmd
will free it automatically.
Signed-off-by: Jens Axboe <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
