io_uring: add support for IORING_OP_OPENAT
authorJens Axboe <axboe@kernel.dk>
Wed, 11 Dec 2019 18:20:36 +0000 (11:20 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:01:53 +0000 (17:01 -0700)
commit15b71abe7b52df214785dde0de9f581cc0216d17
tree7c8e918a0ef6654eac0166ff57e324a8780786a6
parent35cb6d54c1d5daf1d1ed585ef5ce4557e7ab284c
io_uring: add support for IORING_OP_OPENAT

This works just like openat(2), except it can be performed async. For
the normal case of a non-blocking path lookup this will complete
inline. If we have to do IO to perform the open, it'll be done from
async context.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h