Re: [f2fs-dev] [PATCH v2] f2fs: test for race condition in between atomic_write and gc

2024-07-28 Thread Chao Yu
On 2024/7/26 23:49, Zorro Lang wrote: On Sat, Jul 20, 2024 at 03:43:16PM +0800, Chao Yu wrote: Test that we will simulate sqlite atomic write logic w/ below steps: 1. create a regular file, and initialize it w/ 0xff data 2. start transaction (via F2FS_IOC_START_ATOMIC_WRITE) on it 3. write trans

Re: [f2fs-dev] [PATCH v2] f2fs: test for race condition in between atomic_write and gc

2024-07-26 Thread Zorro Lang
On Sat, Jul 20, 2024 at 03:43:16PM +0800, Chao Yu wrote: > Test that we will simulate sqlite atomic write logic w/ below steps: > 1. create a regular file, and initialize it w/ 0xff data > 2. start transaction (via F2FS_IOC_START_ATOMIC_WRITE) on it > 3. write transaction data > 4. trigger foregrou

[f2fs-dev] [PATCH v2] f2fs: test for race condition in between atomic_write and gc

2024-07-20 Thread Chao Yu
Test that we will simulate sqlite atomic write logic w/ below steps: 1. create a regular file, and initialize it w/ 0xff data 2. start transaction (via F2FS_IOC_START_ATOMIC_WRITE) on it 3. write transaction data 4. trigger foreground GC to migrate data block of the file 5. commit and end the trans