Re: [f2fs-dev] [PATCH V2] f2fs: fix atgc bug on issue in 32bits platform

2022-11-14 Thread Arnd Bergmann
On Mon, Nov 14, 2022, at 10:23, Zhiguo Niu wrote: > Arnd Bergmann 于2022年11月11日周五 17:57写道: > so I just modify struct victim_entry as your suggestion: > diff --git a/fs/f2fs/gc.h b/fs/f2fs/gc.h > index 19b956c2d697..e2f25b8fd865 100644 > --- a/fs/f2fs/gc.h > +++ b/fs/f2fs/gc.h > @@ -56,16 +56,16

Re: [f2fs-dev] [PATCH V2] f2fs: fix atgc bug on issue in 32bits platform

2022-11-11 Thread Arnd Bergmann
On Fri, Nov 11, 2022, at 10:40, Zhiguo Niu wrote: > Arnd Bergmann 于2022年11月10日周四 21:45写道: > I thinks the gcc complier build warning : > > In file included from fs/f2fs/segment.c:24: >>> fs/f2fs/gc.h:73:1: warning: alignment 1

Re: [f2fs-dev] [PATCH V2] f2fs: fix atgc bug on issue in 32bits platform

2022-11-10 Thread Arnd Bergmann
On Thu, Nov 10, 2022, at 11:20, Zhiguo Niu wrote: > Arnd Bergmann 于2022年11月10日周四 17:07写道: >> On Thu, Nov 10, 2022, at 09:33, kernel test robot wrote: >> > base: >> > https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git >> > dev-test >> > patch link: >> >

Re: [f2fs-dev] [PATCH V2] f2fs: fix atgc bug on issue in 32bits platform

2022-11-10 Thread Arnd Bergmann
On Thu, Nov 10, 2022, at 09:33, kernel test robot wrote: > Hi zhiguo.niu", > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on jaegeuk-f2fs/dev-test] > [also build test WARNING on linus/master v6.1-rc4 next-20221109] > [If your patch is applied to the wrong

[f2fs-dev] [PATCH V2] f2fs: fix atgc bug on issue in 32bits platform

2022-11-07 Thread zhiguo.niu
From: Zhiguo Niu There is bug on issue after atgc feature is enabled in 32bits platform as the following log: F2FS-fs (dm-x): inconsistent rbtree, cur(3470333575168) next(3320009719808) [ cut here ] kernel BUG at fs/f2fs/gc.c:602! Internal error: Oops - BUG: 0 [#1]