Re: [f2fs-dev] [PATCH v2] f2fs: report cp block corrupted

2018-02-04 Thread guoweichao
On 2018/2/5 15:41, Chao Yu wrote: > On 2018/2/5 18:18, Weichao Guo wrote: >> There is a potential inconsistent metadata case due to a cp block >> crc invalid in the latest checkpoint caused by hardware issues: >> 1) write nodes into segment x; >> 2) write checkpoint A; >> 3) remove nodes in

Re: [f2fs-dev] [PATCH v2] f2fs: report cp block corrupted

2018-02-04 Thread Chao Yu
On 2018/2/5 18:18, Weichao Guo wrote: > There is a potential inconsistent metadata case due to a cp block > crc invalid in the latest checkpoint caused by hardware issues: > 1) write nodes into segment x; > 2) write checkpoint A; > 3) remove nodes in segment x; > 4) write checkpoint B; > 5) issue

[f2fs-dev] [PATCH v2] f2fs: report cp block corrupted

2018-02-04 Thread Weichao Guo
There is a potential inconsistent metadata case due to a cp block crc invalid in the latest checkpoint caused by hardware issues: 1) write nodes into segment x; 2) write checkpoint A; 3) remove nodes in segment x; 4) write checkpoint B; 5) issue discard or write datas into segment x; 6) sudden