[xiang-erofs:fixes] BUILD SUCCESS a8dfdba8de7ef893a39fed094537c282ce656395

2020-06-19 Thread kernel test robot
powerpc rhel-kconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a011-20200619 i386 randconfig-a015-20200619 i386 randconfig-a014-20200619 i386

Re: [PATCH v5] erofs-utils: introduce segment compression

2020-06-19 Thread Gao Xiang
On Sat, Jun 20, 2020 at 01:51:33AM +0800, Li Guifu via Linux-erofs wrote: > Support segment compression which seperates files in several logic > units (segments) and each segment is compressed independently. > > Advantages: > - more friendly for data differencing; > - it can also be used for

[PATCH v5] erofs-utils: introduce segment compression

2020-06-19 Thread Li Guifu via Linux-erofs
Support segment compression which seperates files in several logic units (segments) and each segment is compressed independently. Advantages: - more friendly for data differencing; - it can also be used for parallel compression in the same file later. Signed-off-by: Li Guifu ---

Re: [PATCH] erofs-utils: pass down inode for erofs_prepare_xattr_ibody

2020-06-19 Thread Li GuiFu via Linux-erofs
On 2020/6/17 15:27, Gao Xiang via Linux-erofs wrote: > From: Gao Xiang > > Instead of several independent arguments for convenience. > No logic changes. > > Signed-off-by: Gao Xiang > --- > > > It looks good > > Reviewed-by: Li Guifu >

[xiang-erofs:dev-test] BUILD SUCCESS 17f38d4c514e178f522af833ff4b2b46d134145a

2020-06-19 Thread kernel test robot
randconfig-a002-20200618 x86_64 randconfig-a005-20200618 x86_64 randconfig-a004-20200618 x86_64 randconfig-a015-20200619 x86_64 randconfig-a016-20200619 x86_64 randconfig-a011-20200619 x86_64 randconfig-a012-20200619

Re: [PATCH 2/2] gfs2: Rework read and page fault locking

2020-06-19 Thread Matthew Wilcox
On Fri, Jun 19, 2020 at 11:39:16AM +0200, Andreas Gruenbacher wrote: > static int gfs2_readpage(struct file *file, struct page *page) > { > - struct address_space *mapping = page->mapping; > - struct gfs2_inode *ip = GFS2_I(mapping->host); > - struct gfs2_holder gh; > int

[PATCH 2/2] gfs2: Rework read and page fault locking

2020-06-19 Thread Andreas Gruenbacher
The cache consistency model of filesystems like gfs2 is such that if data is found in the page cache, the data is up to date and can be used without taking any filesystem locks. If a page is not cached, filesystem locks must be taken before populating the page cache. Thus far, gfs2 has taken

[RFC PATCH 0/2] gfs2 readahead regression in v5.8-rc1

2020-06-19 Thread Andreas Gruenbacher
Hello, can the two patches in this set still be considered for v5.8? Commit d4388340ae0b ("fs: convert mpage_readpages to mpage_readahead") which converts gfs2 and other filesystems to use the new ->readahead address space operation is leading to deadlocks between the inode glocks and page

[PATCH 1/2] fs: Add IOCB_CACHED flag for generic_file_read_iter

2020-06-19 Thread Andreas Gruenbacher
Add an IOCB_CACHED flag which indicates to generic_file_read_iter that it should only regard the page cache, without triggering any filesystem I/O for the actual request or for readahead. With this flag, -EAGAIN is returned when regular I/O would be triggered similar to the IOCB_NOWAIT flag, and

[PATCH v2] erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup

2020-06-19 Thread Hongyu Jin
Hi xiang: Hongyu reported "id != index" in z_erofs_onlinepage_fixup() with specific aarch64 environment easily, which wasn't shown before. After digging into that, I found that high 32 bits of page->private was set to 0x rather than 0 (due to z_erofs_onlinepage_init behavior with

RE: [PATCH v2] erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup

2020-06-19 Thread Hongyu Jin
Hi xiang: Hongyu reported "id != index" in z_erofs_onlinepage_fixup() with specific aarch64 environment easily, which wasn't shown before. After digging into that, I found that high 32 bits of page->private was set to 0x rather than 0 (due to z_erofs_onlinepage_init behavior with