[Cluster-devel] [PATCH] gfs2: Disable page faults during lockless buffered reads

2022-03-16 Thread Andreas Gruenbacher
During lockless buffered reads, filemap_read() holds page cache page references while trying to copy data to the user-space buffer. The calling process isn't holding the inode glock, but the page references it holds prevent those pages from being removed from the page cache, and that prevents the

[Cluster-devel] [PATCH] gfs2: Fix should_fault_in_pages() logic

2022-03-16 Thread Andreas Gruenbacher
Fix the fault-in window size logic: * Use a maximum window size of 1 MiB instead of BIO_MAX_VECS * PAGE_SIZE. The previous window size was always one page because the pages variable was accidentally being redefined in should_fault_in_pages(). * Account for page overlap (unaligned iterators). *

[Cluster-devel] [gfs2:for-next 11/11] fs/gfs2/file.c:796:10: warning: comparison of distinct pointer types ('typeof (size) *' (aka 'unsigned int *') and 'typeof (nr_dirtied * ((1UL) << 12)) *' (aka 'u

2022-03-16 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next head: a20050c14edf19add5a9588cb196bb00aa410650 commit: a20050c14edf19add5a9588cb196bb00aa410650 [11/11] gfs2: Add read/write page 'fault_stats' config: i386-randconfig-a011 (https://download.01.org/0day-ci/arc

[Cluster-devel] [gfs2:for-next 11/11] fs/gfs2/file.c:796:10: warning: comparison of distinct pointer types ('typeof (size) *' (aka 'unsigned int *') and 'typeof (nr_dirtied * (1UL << 16)) *' (aka 'uns

2022-03-16 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next head: a20050c14edf19add5a9588cb196bb00aa410650 commit: a20050c14edf19add5a9588cb196bb00aa410650 [11/11] gfs2: Add read/write page 'fault_stats' config: hexagon-randconfig-r041-20220313 (https://download.01.org

[Cluster-devel] [gfs2:for-next 11/11] fs/gfs2/file.c:796:24: sparse: sparse: incompatible types in comparison expression (different type sizes):

2022-03-16 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next head: a20050c14edf19add5a9588cb196bb00aa410650 commit: a20050c14edf19add5a9588cb196bb00aa410650 [11/11] gfs2: Add read/write page 'fault_stats' config: sh-randconfig-s032-20220313 (https://download.01.org/0day