io_uring: enable task/files specific overflow flushing
authorJens Axboe <axboe@kernel.dk>
Mon, 28 Sep 2020 19:10:13 +0000 (13:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Nov 2020 11:45:35 +0000 (12:45 +0100)
commitfdc84c9bf1316fb427b4d3c6478766b67370628f
tree7c5779a9ae584328f5e01f0e9eb04fb0fec00983
parent3de61f9bcc1c1c8a272e0ed92c2bc3923f68ce1e
io_uring: enable task/files specific overflow flushing

commit e6c8aa9ac33bd7c968af7816240fc081401fddcd upstream.

This allows us to selectively flush out pending overflows, depending on
the task and/or files_struct being passed in.

No intended functional changes in this patch.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c