commit | b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Dec 11 14:02:38 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:01:53 2020 -0700 |
tree | 3e08555974f383d3da5d064dbbc75c6c833091a6 | |
parent | 0c9d5ccd26a004f59333c06fbbb98f9cb1eed93d [diff] |
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: Jens Axboe <axboe@kernel.dk>