Re: [f2fs-dev] [PATCH 2/3] f2fs: move release of block devices to after kill_block_super()

2023-12-26 Thread Chao Yu
On 2023/12/13 12:00, Eric Biggers wrote: From: Eric Biggers Call destroy_device_list() and free the f2fs_sb_info from kill_f2fs_super(), after the call to kill_block_super(). This is necessary to order it after the call to fscrypt_destroy_keyring() once generic_shutdown_super() starts calling

Re: [f2fs-dev] [PATCH 2/3] f2fs: move release of block devices to after kill_block_super()

2023-12-26 Thread Eric Biggers
On Tue, Dec 12, 2023 at 08:00:17PM -0800, Eric Biggers wrote: > From: Eric Biggers > > Call destroy_device_list() and free the f2fs_sb_info from > kill_f2fs_super(), after the call to kill_block_super(). This is > necessary to order it after the call to fscrypt_destroy_keyring() once >

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] (2) [PATCH v3] f2fs: New victim selection for GC

2023-12-26 Thread Yonggil Song
> On 12/21, Yonggil Song wrote: > > Overview > > > > > > This patch introduces a new way to preference data sections when selecting > > GC victims. Migration of data blocks causes invalidation of node blocks. > > Therefore, in situations where GC is frequent, selecting data blocks as > >

Re: [f2fs-dev] [PATCH v3] f2fs: New victim selection for GC

2023-12-26 Thread Jaegeuk Kim
On 12/21, Yonggil Song wrote: > Overview > > > This patch introduces a new way to preference data sections when selecting > GC victims. Migration of data blocks causes invalidation of node blocks. > Therefore, in situations where GC is frequent, selecting data blocks as > victims can

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