diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-09-08 17:03:12 +0000 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-09-28 11:47:48 -0600 |
| commit | 66fe7abe9f956ed661d0f1064fd47ec517a03633 (patch) | |
| tree | 5e2492e735aaade535c13f22f057edb42d145a6e /tools/lib/python | |
| parent | 89baa3154a722588b37f3dc76bc2b5f70d2206d7 (diff) | |
io_uring: drop registered files and buffers at release time
Registered file and buffer tables are only torn down from
io_ring_ctx_free(), which only runs when all requests have completed and
the ctx refs have hit zero. Before this, every registered file remains
open.
The resource nodes are reference counted and any request using a
registered file or buffer holds its own reference to the node, so this
only releases what is actually unused. The rest follow as those requests
complete or get canceled.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
