commit | 60d51e3dea8bd07f66b731e318a9cbbd288e6556 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue May 09 08:56:01 2023 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu May 11 07:24:07 2023 -0600 |
tree | 8f143720579524e87b003153d14c6e26028110e3 | |
parent | d22f190efabecb393ded0b761a8873640b4e6257 [diff] |
io_uring: rely solely on FMODE_NOWAIT Now that we have both sockets and block devices setting FMODE_NOWAIT appropriately, we can get rid of all the odd special casing in __io_file_supports_nowait() and rely soley on FMODE_NOWAIT and O_NONBLOCK rather than special case sockets and (in particular) bdevs. Signed-off-by: Jens Axboe <axboe@kernel.dk>