Re: [f2fs-dev] [PATCH v4] f2fs: change fiemap way in printing compression chunk

From: Jaegeuk Kim
Date: Thu Jul 29 2021 - 18:51:21 EST


On 07/29, Chao Yu wrote:
> On 2021/7/28 1:17, Jaegeuk Kim wrote:
> > Do we really need to catch this in fiemap? What about giving the current
>
> Yes, I think so.
>
> > layout with warning message and setting NEED_FSCK?
>
> Sure,
>
> How about doing sanity check on cluster metadata whenever it is going to
> be accessed, like we did for single blkaddr with f2fs_is_valid_blkaddr()?

I think that'd be viable.

>
> Thanks,