Re: [f2fs-dev] [PATCH v2 4/4] fsck.f2fs: Check write pointer consistency with valid blocks count

2019-08-30 Thread Shinichiro Kawasaki
On Aug 29, 2019 / 22:42, Chao Yu wrote: > On 2019-8-28 19:53, Shinichiro Kawasaki wrote: > > On Aug 27, 2019 / 10:25, Chao Yu wrote: > >> On 2019/8/21 12:48, Shin'ichiro Kawasaki wrote: > >>> When sudden f2fs shutdown happens on zoned block devices, write > >>> pointers can be inconsistent with val

Re: [f2fs-dev] [PATCH v2 4/4] fsck.f2fs: Check write pointer consistency with valid blocks count

2019-08-29 Thread Chao Yu
On 2019-8-28 19:53, Shinichiro Kawasaki wrote: > On Aug 27, 2019 / 10:25, Chao Yu wrote: >> On 2019/8/21 12:48, Shin'ichiro Kawasaki wrote: >>> When sudden f2fs shutdown happens on zoned block devices, write >>> pointers can be inconsistent with valid blocks counts in meta data. >>> The failure sce

Re: [f2fs-dev] [PATCH v2 4/4] fsck.f2fs: Check write pointer consistency with valid blocks count

2019-08-28 Thread Shinichiro Kawasaki
On Aug 27, 2019 / 10:25, Chao Yu wrote: > On 2019/8/21 12:48, Shin'ichiro Kawasaki wrote: > > When sudden f2fs shutdown happens on zoned block devices, write > > pointers can be inconsistent with valid blocks counts in meta data. > > The failure scenario is as follows: > > > > - Just before a sudd

Re: [f2fs-dev] [PATCH v2 4/4] fsck.f2fs: Check write pointer consistency with valid blocks count

2019-08-26 Thread Chao Yu
On 2019/8/21 12:48, Shin'ichiro Kawasaki wrote: > When sudden f2fs shutdown happens on zoned block devices, write > pointers can be inconsistent with valid blocks counts in meta data. > The failure scenario is as follows: > > - Just before a sudden shutdown, a new segment in a new zone is selected

[f2fs-dev] [PATCH v2 4/4] fsck.f2fs: Check write pointer consistency with valid blocks count

2019-08-20 Thread Shin'ichiro Kawasaki
When sudden f2fs shutdown happens on zoned block devices, write pointers can be inconsistent with valid blocks counts in meta data. The failure scenario is as follows: - Just before a sudden shutdown, a new segment in a new zone is selected for a current segment. Write commands were executed to