diff options
author | 2020-08-10 18:44:24 -0600 | |
---|---|---|
committer | 2020-08-11 08:09:01 -0600 | |
commit | efa8480a831673bb52400df9dbe5da0aacda97bf (patch) | |
tree | ef35b265ada3875915696ee6b3112d5f688ed708 /net/unix/af_unix.c | |
parent | io_uring: defer file table grabbing request cleanup for locked requests (diff) | |
download | wireguard-linux-efa8480a831673bb52400df9dbe5da0aacda97bf.tar.xz wireguard-linux-efa8480a831673bb52400df9dbe5da0aacda97bf.zip |
fs: RWF_NOWAIT should imply IOCB_NOIO
With the change allowing read-ahead for IOCB_NOWAIT, we changed the
RWF_NOWAIT semantics of only doing cached reads. Since we know have
IOCB_NOIO to manage that specific side of it, just make RWF_NOWAIT
imply IOCB_NOIO as well to restore the previous behavior.
Fixes: 2e85abf053b9 ("mm: allow read-ahead with IOCB_NOWAIT set")
Reported-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions