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)
commit36f4fa6886a81266d7c82b1c90a65205e73a7c85
tree4701e9c5a955a6f754aaf058a5a721e9ddb1239e
parentb713c195d59332277a31a59c91f755e53b5b302b
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