Files
twx-linux/io_uring
Jens Axboe 67c1a7decf io_uring/uring_cmd: ensure that device supports IOPOLL
commit 03b3d6be73 upstream.

It's possible for a file type to support uring commands, but not
pollable ones. Hence before issuing one of those, we should check
that it is supported and error out upfront if it isn't.

Cc: stable@vger.kernel.org
Fixes: 5756a3a7e7 ("io_uring: add iopoll infrastructure for io_uring_cmd")
Link: https://github.com/axboe/liburing/issues/816
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-17 08:57:45 +01:00
..
2022-12-07 06:47:13 -07:00
2022-09-21 13:15:02 -06:00
2022-12-07 06:47:13 -07:00
2023-01-13 07:32:46 -07:00
2022-10-07 12:25:30 -06:00