diff options
author | 2018-06-06 20:30:38 +0100 | |
---|---|---|
committer | 2018-07-25 00:08:49 +0200 | |
commit | f95cbb44abf9d6545769147d5abec4770c89872d (patch) | |
tree | 5a440755b5f26fb4cc3fec89b0b27d732ad53585 /fs/gfs2/dir.c | |
parent | gfs2: Use iomap for stuffed direct I/O reads (diff) | |
download | linux-f95cbb44abf9d6545769147d5abec4770c89872d.tar.gz linux-f95cbb44abf9d6545769147d5abec4770c89872d.tar.bz2 linux-f95cbb44abf9d6545769147d5abec4770c89872d.zip |
gfs2: use iomap_readpage for blocksize == PAGE_SIZE
We only use iomap_readpage for pages that don't have buffer heads
attached yet: iomap_readpage would otherwise read pages from disk that
are marked buffer_uptodate() but not PageUptodate(). Those pages may
actually contain data more recent than what's on disk.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/dir.c')
0 files changed, 0 insertions, 0 deletions