Re: [f2fs-dev] [RFC PATCH 1/7] statx: add I/O alignment information

2022-02-11 Thread Chaitanya Kulkarni via Linux-f2fs-devel
On 2/10/22 10:11 PM, Eric Biggers wrote: > From: Eric Biggers > > Traditionally, the conditions for when DIO (direct I/O) is supported > were fairly simple: filesystems either supported DIO aligned to the > block device's logical block size, or didn't support DIO at all. > > However, due to file

Re: [f2fs-dev] [RFC PATCH 1/7] statx: add I/O alignment information

2022-02-11 Thread Chaitanya Kulkarni via Linux-f2fs-devel
On 2/11/22 3:40 AM, Chaitanya Kulkarni wrote: > On 2/10/22 10:11 PM, Eric Biggers wrote: >> From: Eric Biggers >> >> Traditionally, the conditions for when DIO (direct I/O) is supported >> were fairly simple: filesystems either supported DIO aligned to the >> block device's logical block size, or

[f2fs-dev] [PATCH -next v2] ext4:fix file system corrupted when rmdir non empty directory with IO error

2022-02-11 Thread Ye Bin via Linux-f2fs-devel
We inject IO error when rmdir non empty direcory, then got issue as follows: step1: mkfs.ext4 -F /dev/sda step2: mount /dev/sda test step3: cd test step4: mkdir -p 1/2 step5: rmdir 1 [ 110.920551] ext4_empty_dir: inject fault [ 110.921926] EXT4-fs warning (device sda): ext4_rmdir