Re: [f2fs-dev] [PATCH 1/6] f2fs: compress: fix to guarantee persisting compressed blocks by CP

2023-12-27 Thread Chao Yu
On 2023/12/28 6:55, Jaegeuk Kim wrote: On 12/27, Chao Yu wrote: On 2023/12/27 5:02, Jaegeuk Kim wrote: On 12/20, Chao Yu wrote: If data block in compressed cluster is not persisted with metadata during checkpoint, after SPOR, the data may be corrupted, let's guarantee to write compressed page

Re: [f2fs-dev] [PATCH 1/6] f2fs: compress: fix to guarantee persisting compressed blocks by CP

2023-12-27 Thread Jaegeuk Kim
On 12/27, Chao Yu wrote: > On 2023/12/27 5:02, Jaegeuk Kim wrote: > > On 12/20, Chao Yu wrote: > > > If data block in compressed cluster is not persisted with metadata > > > during checkpoint, after SPOR, the data may be corrupted, let's > > > guarantee to write compressed page by checkpoint. > >

Re: [f2fs-dev] [PATCH 1/6] f2fs: compress: fix to guarantee persisting compressed blocks by CP

2023-12-26 Thread Chao Yu
On 2023/12/27 5:02, Jaegeuk Kim wrote: On 12/20, Chao Yu wrote: If data block in compressed cluster is not persisted with metadata during checkpoint, after SPOR, the data may be corrupted, let's guarantee to write compressed page by checkpoint. Fixes: 4c8ff7095bef ("f2fs: support data

Re: [f2fs-dev] [PATCH 1/6] f2fs: compress: fix to guarantee persisting compressed blocks by CP

2023-12-26 Thread Jaegeuk Kim
On 12/20, Chao Yu wrote: > If data block in compressed cluster is not persisted with metadata > during checkpoint, after SPOR, the data may be corrupted, let's > guarantee to write compressed page by checkpoint. > > Fixes: 4c8ff7095bef ("f2fs: support data compression") > Signed-off-by: Chao Yu

[f2fs-dev] [PATCH 1/6] f2fs: compress: fix to guarantee persisting compressed blocks by CP

2023-12-20 Thread Chao Yu
If data block in compressed cluster is not persisted with metadata during checkpoint, after SPOR, the data may be corrupted, let's guarantee to write compressed page by checkpoint. Fixes: 4c8ff7095bef ("f2fs: support data compression") Signed-off-by: Chao Yu --- fs/f2fs/compress.c | 3 ++-