diff options
author | Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> | 2015-02-12 14:13:44 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-02-12 14:13:44 +1100 |
commit | aa4efc97df570511ddf6f339a76fd0816da6b8a8 (patch) | |
tree | 1ac0b60b991a8c5f7ce1c7557e0afed4ef6bb902 | |
parent | 2b2fe1a65814f91f1fe48c274bdfa3e52e037360 (diff) |
ext4/304: ignore EINVAL and ENODATA error
ext4/304 is also ext4 defragmentation stress test, which creates several
threads to perform defragmentation using 'inplace' mode, but there is a
possible race that the donor file has been truncated by thread_A, while
thread_B starts to call ioctl(EXT4_IOC_MOVE_EXT), then we may get a
EINVAL or ENODATA error.
Please see: http://www.spinics.net/lists/linux-ext4/msg46900.html for
detailed information.
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
-rwxr-xr-x | tests/ext4/304 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ext4/304 b/tests/ext4/304 index b9b43568..01c51a40 100755 --- a/tests/ext4/304 +++ b/tests/ext4/304 @@ -61,6 +61,8 @@ filesize=${FILE_SIZE} size=999G buffered=0 fadvise_hint=0 +continue_on_error=write +ignore_error=,EINVAL:61 ################################# # Test4 |