Skip to content
Commit 41da51bc authored by Andreas Gruenbacher's avatar Andreas Gruenbacher
Browse files

fs: Add IOCB_NOIO flag for generic_file_read_iter



Add an IOCB_NOIO flag that indicates to generic_file_read_iter that it
shouldn't trigger any filesystem I/O for the actual request or for
readahead.  This allows to do tentative reads out of the page cache as
some filesystems allow, and to take the appropriate locks and retry the
reads only if the requested pages are not cached.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent dcb7fd82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment