-
由 Jens Axboe 提交于
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: 2e85abf0 ("mm: allow read-ahead with IOCB_NOWAIT set") Reported-by: NDave Chinner <david@fromorbit.com> Reviewed-by: NDave Chinner <dchinner@redhat.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
efa8480a