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>
Fri, 22 May 2020 15:51:35 +0000 (09:51 -0600)
commiteba2b9a2475de4f888ed04d8709500131bce9a0a
tree78e1e71208153dc75a491f57926a240619f3d27b
parentb7932d107d9148dc76a9b5a216e1db3fcf5a375f
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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
mm/filemap.c