]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add support for shutdown(2)
authorJens Axboe <axboe@kernel.dk>
Sat, 5 Sep 2020 17:14:22 +0000 (11:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Nov 2020 16:15:15 +0000 (09:15 -0700)
commit0b76124382923bd2c0c39d6d79093b6fc5b37368
tree4701e9c5a955a6f754aaf058a5a721e9ddb1239e
parent9434103e008f8eb126fe771443a8f84bfa99a302
io_uring: add support for shutdown(2)

This adds support for the shutdown(2) system call, which is useful for
dealing with sockets.

shutdown(2) may block, so we have to punt it to async context.

Suggested-by: Norman Maurer <norman.maurer@googlemail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h