io_uring: enable task/files specific overflow flushing
authorJens Axboe <axboe@kernel.dk>
Mon, 28 Sep 2020 19:10:13 +0000 (13:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Oct 2020 21:03:11 +0000 (15:03 -0600)
commit062be0e7ae80f9450d04fc4e4b8911dda02e2a75
treea21d6bc1e93d4608c5e8c8aa03bc5c2b3b50afe0
parentbde6369157b2e0ee1ae65d2c337ee1bb13b68106
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>
fs/io_uring.c