ping...
On 2022/2/11 17:35, Ye Bin wrote:
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.9219
On 2022/2/26 10:23, Theodore Ts'o wrote:
On Fri, Feb 11, 2022 at 05:35:27PM +0800, Ye Bin wrote:
Now if read directory block failed, 'ext4_empty_dir' will return true, assume
directory is empty. Obviously, it will lead to above issue.
To solve this issue, if read directory block failed 'ext4_