mm: allow read-ahead with IOCB_NOWAIT set
authorJens Axboe <axboe@kernel.dk>
Fri, 22 May 2020 14:59:42 +0000 (08:59 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Jun 2020 15:38:00 +0000 (09:38 -0600)
commit69484d4506bc00c6e6f1bc7799f94b480ee6854d
tree077c2a25c1c048c1f16941a8511b95ffd8931cf0
parent0f4035179fdbc21678156aa07aa840bf2efe7461
mm: allow read-ahead with IOCB_NOWAIT set

The read-ahead shouldn't block, so allow it to be done even if
IOCB_NOWAIT is set in the kiocb.

Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/filemap.c