diff options
| author | Jens Axboe <axboe@kernel.dk> | 2019-12-10 06:58:56 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2019-12-11 02:33:23 +0300 |
| commit | ebfcd8955c0b52eb793bcbc9e71140e3d0cdb228 (patch) | |
| tree | 09f98f4fd317b1a146576e62c700dfd6ef1a4931 /lib/mpi/mpi-bit.c | |
| parent | 53108d476a105ab2597d7a4e6040b127829391b5 (diff) | |
| download | linux-ebfcd8955c0b52eb793bcbc9e71140e3d0cdb228.tar.xz | |
net: make socket read/write_iter() honor IOCB_NOWAIT
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: netdev@vger.kernel.org
Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
