[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YQtSrIx0/sAipDs4@google.com>
Date: Wed, 4 Aug 2021 19:53:32 -0700
From: Jaegeuk Kim <jaegeuk@...nel.org>
To: Chao Yu <chao@...nel.org>
Cc: Chao Yu <chao.yu@...ux.dev>, linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [f2fs-dev] [RFC v3] f2fs: extent cache: support unaligned extent
On 08/05, Chao Yu wrote:
> Jaegeuk,
>
> On 2021/8/5 7:45, Jaegeuk Kim wrote:
> > Chao,
> >
> > How about this?
> > https://github.com/jaegeuk/f2fs/commit/d6bbe121bc24dfabfedc07ba7cb6e921fb70ece0
>
> Looks more clean, thanks,
>
> >
> > I'm digging one bug in __insert_extent_tree w/ the patch tho.
>
> Shouldn't we initialize @ei in f2fs_update_extent_tree_range(), otherwise,
> __try_merge_extent_node(&ei) -> __is_extent_mergeable() will do the check
> w/ uninitialized c_len of @ei.
Fixed some bugs, but still getting another data corruption.
https://github.com/jaegeuk/f2fs/commit/c5d97919c55b467392407b60c1a7b1e3e81721ff
>
> > > On 08/04, Chao Yu wrote:
> > > > + if (from_dnode)
> > > > + goto skip_reading_dnode;
>
> Wrong condition here, thanks for fixing.
>
> Thanks,
Powered by blists - more mailing lists