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>
Tue, 26 May 2020 19:32:03 +0000 (13:32 -0600)
commitfdc281ee093910572c0a0159b75213fd0f9c963f
tree0f07238b433427e610648873fd09b850a47c4649
parent381000ebbf4fed96c206571a04511c0667e38e18
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