Re: [f2fs-dev] [PATCH] f2fs: fix to update user block counts in block_operations()

2024-06-24 Thread Chao Yu
On 2024/6/25 1:53, Jaegeuk Kim wrote: On 06/06, Chao Yu wrote: Commit 59c9081bc86e ("f2fs: allow write page cache when writting cp") allows write() to write data to page cache during checkpoint, so block count fields like .total_valid_block_count, .alloc_valid_block_count and .rf_node_block_coun

Re: [f2fs-dev] [PATCH] f2fs: fix to update user block counts in block_operations()

2024-06-24 Thread Jaegeuk Kim
On 06/06, Chao Yu wrote: > Commit 59c9081bc86e ("f2fs: allow write page cache when writting cp") > allows write() to write data to page cache during checkpoint, so block > count fields like .total_valid_block_count, .alloc_valid_block_count > and .rf_node_block_count may encounter race condition as

[f2fs-dev] [PATCH] f2fs: fix to update user block counts in block_operations()

2024-06-06 Thread Chao Yu
Commit 59c9081bc86e ("f2fs: allow write page cache when writting cp") allows write() to write data to page cache during checkpoint, so block count fields like .total_valid_block_count, .alloc_valid_block_count and .rf_node_block_count may encounter race condition as below: CP