From: Jens Axboe <axboe@xxxxxxxxx> Date: Tue, 10 Dec 2019 08:57:41 -0700 > The socket read/write helpers only look at the file O_NONBLOCK. not > the iocb IOCB_NOWAIT flag. This breaks users like preadv2/pwritev2 > and io_uring that rely on not having the file itself marked nonblocking, > but rather the iocb itself. > > Cc: David Miller <davem@xxxxxxxxxxxxx> > Cc: netdev@xxxxxxxxxxxxxxx > Signed-off-by: Jens Axboe <axboe@xxxxxxxxx> I guess this should be OK: Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>