Re: [syzbot] [erofs?] BUG: using smp_processor_id() in preemptible code in z_erofs_get_gbuf

2024-04-09 Thread syzbot
Hello, syzbot tried to test the proposed patch but the build/boot failed: rd [7.642260][T1] usbcore: registered new interface driver dln2 [7.645615][T1] usbcore: registered new interface driver pn533_usb [7.653071][T1] nfcsim 0.2 initialized [7.654695][T1]

[PATCH v2] erofs-utils: lib: treat data blocks filled with 0s as a hole

2024-04-09 Thread Sandeep Dhavale via Linux-erofs
Add optimization to treat data blocks filled with 0s as a hole. Even though diskspace savings are comparable to chunk based or dedupe, having no block assigned saves us redundant disk IOs during read. To detect blocks filled with zeros during chunking, we insert block filled with zeros

[xiang-erofs:dev] BUILD SUCCESS 38bac6fb80a823c4c48cdd5e8fd06568c8bdda7c

2024-04-09 Thread kernel test robot
allnoconfig gcc arc allyesconfig gcc arc defconfig gcc arc randconfig-001-20240409 gcc arc randconfig-002-20240409 gcc arc

[PATCH v2] erofs: derive fsid from on-disk UUID for .statfs() if possible

2024-04-09 Thread Hongzhen Luo
Use the superblock's UUID to generate the fsid when it's non-null. Reviewed-by: Gao Xiang Reviewed-by: Jingbo Xu Signed-off-by: Hongzhen Luo --- v2: update the conversion of UUID to fsid, which looks cleaner. v1:

Re: [PATCH] erofs: derive fsid from on-disk UUID for .statfs() if possible

2024-04-09 Thread Hongzhen Luo
在 2024/4/9 17:36, Jingbo Xu 写道: On 4/9/24 4:11 PM, Hongzhen Luo wrote: Use the superblock's UUID to generate the fsid when it's non-null. Signed-off-by: Hongzhen Luo --- fs/erofs/super.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/erofs/super.c

Re: [PATCH] erofs: derive fsid from on-disk UUID for .statfs() if possible

2024-04-09 Thread Jingbo Xu
On 4/9/24 4:11 PM, Hongzhen Luo wrote: > Use the superblock's UUID to generate the fsid when it's non-null. > > Signed-off-by: Hongzhen Luo > --- > fs/erofs/super.c | 12 +--- > 1 file changed, 5 insertions(+), 7 deletions(-) > > diff --git a/fs/erofs/super.c b/fs/erofs/super.c >

Re: [PATCH] erofs: derive fsid from on-disk UUID for .statfs() if possible

2024-04-09 Thread Gao Xiang
On 2024/4/9 16:11, Hongzhen Luo wrote: Use the superblock's UUID to generate the fsid when it's non-null. Signed-off-by: Hongzhen Luo Reviewed-by: Gao Xiang Thanks, Gao Xiang --- fs/erofs/super.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH] erofs: derive fsid from on-disk UUID for .statfs() if possible

2024-04-09 Thread Hongzhen Luo
Use the superblock's UUID to generate the fsid when it's non-null. Signed-off-by: Hongzhen Luo --- fs/erofs/super.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/erofs/super.c b/fs/erofs/super.c index c0eb139adb07..83bd8ee3b5ba 100644 --- a/fs/erofs/super.c