io_uring: flush notifiers after sendzc
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 12 Jul 2022 20:52:47 +0000 (21:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:41:07 +0000 (18:41 -0600)
commit63809137ebb58f0aa2ce359117422686e3304f45
tree769dd9e570105c3dc48a193800610358d1450166
parent10c7d33ecd51619e453cf6aeee8e326f8ba5cfea
io_uring: flush notifiers after sendzc

Allow to flush notifiers as a part of sendzc request by setting
IORING_SENDZC_FLUSH flag. When the sendzc request succeedes it will
flush the used [active] notifier.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e0b4d9a6797e2fd6092824fe42953db7a519bbc8.1657643355.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/net.c
io_uring/notif.c
io_uring/notif.h