diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-03-02 23:46:10 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-02 14:03:24 -0700 |
commit | 80ad894382bf1d73eb688c29714fa10c0afcf2e7 (patch) | |
tree | 9526fe46a1ea291ee4e7cba8ffe8b50dc3b0eddc /fs/io_uring.c | |
parent | fc04c39bae01a607454f7619665309870c60937a (diff) | |
download | lwn-80ad894382bf1d73eb688c29714fa10c0afcf2e7.tar.gz lwn-80ad894382bf1d73eb688c29714fa10c0afcf2e7.zip |
io-wq: remove io_wq_flush and IO_WQ_WORK_INTERNAL
io_wq_flush() is buggy, during cancelation of a flush, the associated
work may be passed to the caller's (i.e. io_uring) @match callback. That
callback is expecting it to be embedded in struct io_kiocb. Cancelation
of internal work probably doesn't make a lot of sense to begin with.
As the flush helper is no longer used, just delete it and the associated
work flag.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions