> -----Original Message-----
> From: Chao Yu <yuch...@huawei.com>
> Sent: Friday, July 17, 2020 1:07 PM
> To: Aravind Ramesh <aravind.ram...@wdc.com>; jaeg...@kernel.org; linux-f2fs-
> de...@lists.sourceforge.net
> Cc: Shinichiro Kawasaki <shinichiro.kawas...@wdc.com>; Matias Bjorling
> <matias.bjorl...@wdc.com>
> Subject: Re: [PATCH 2/2] fsck.f2fs: validate free seg count on zns device
>
> On 2020/7/2 23:54, Aravind Ramesh wrote:
> > NVMe Zoned Namespace devices can have zone-capacity less than zone-size.
> > Zone-capacity indicates the number of usable blocks in a zone, if
> > zone-capacity is less than zone-size, then the segments which start
> > at/after zone-capacity are considered unusable. Only those segments
> > which start before the zone-capacity are considered as usable and
> > added to the free_segment_count and free_segment_bitmap of the kernel.
> >
> > Allow fsck to find the free_segment_count based on the zone-capacity
> > and compare with checkpoint values.
> >
> > Signed-off-by: Aravind Ramesh <aravind.ram...@wdc.com>
> > Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawas...@wdc.com>
>
> It's better to merge these two related patch into one, otherwise, it looks
> good to me.
Ok, will merge it to one patch and send a V2.
Thanks for the review and feedback.
Aravind
>
> Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel