Skip to content
Commit b5dba59e authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: add support for IORING_OP_CLOSE



This works just like close(2), unsurprisingly. We remove the file
descriptor and post the completion inline, then offload the actual
(potential) last file put to async context.

Mark the async part of this work as uncancellable, as we really must
guarantee that the latter part of the close is run.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0c9d5ccd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment