Home
last modified time | relevance | path

Searched hist:f95cbb44 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Daops.cf95cbb44 Wed Jun 06 14:30:38 CDT 2018 Andreas Gruenbacher <agruenba@redhat.com> 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>
f95cbb44 Wed Jun 06 14:30:38 CDT 2018 Andreas Gruenbacher <agruenba@redhat.com> 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>