Re: [f2fs-dev] [PATCH] f2fs: report cp block corrupted & add a backup of cp2

2018-02-28 Thread guoweichao
Hi Jaegeuk, On 2018/2/28 12:57, Jaegeuk Kim wrote: > On 02/26, 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

Re: [f2fs-dev] [PATCH] f2fs: report cp block corrupted & add a backup of cp2

2018-02-27 Thread Chao Yu
Hi Jaegeuk, On 2018/2/28 12:57, Jaegeuk Kim wrote: > On 02/26, 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

Re: [f2fs-dev] [PATCH] f2fs: report cp block corrupted & add a backup of cp2

2018-02-27 Thread Jaegeuk Kim
On 02/26, 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 discard

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

2018-02-04 Thread guoweichao
Hi Chao, On 2018/2/4 23:16, Chao Yu wrote: > On 2018/2/3 20:12, 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

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

2018-02-04 Thread Chao Yu
On 2018/2/3 20:12, 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] f2fs: report cp block corrupted

2018-02-02 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