[PATCH] ext4/30[23]: ignore EBUSY error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



xfstests ext4/302, ext4/303 are ext4 defragmentation stress test,
which will ioctl(EXT4_IOC_MOVE_EXT), so EBUSY is expected to happen,
for example, when page's corresponding buffer_head's state is BH_Dirty.

Signed-off-by: Xiaoguang Wang <wangxg.fnst@xxxxxxxxxxxxxx>
---
 tests/ext4/302 | 2 ++
 tests/ext4/303 | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/ext4/302 b/tests/ext4/302
index 1e90016..c604c8f 100755
--- a/tests/ext4/302
+++ b/tests/ext4/302
@@ -60,6 +60,8 @@ filesize=${FILE_SIZE}
 size=999G
 buffered=0
 fadvise_hint=0
+continue_on_error=write
+ignore_error=,EBUSY
 
 ##########################################
 # Test2
diff --git a/tests/ext4/303 b/tests/ext4/303
index 9573872..2d01f0f 100755
--- a/tests/ext4/303
+++ b/tests/ext4/303
@@ -60,6 +60,8 @@ filesize=${FILE_SIZE}
 size=999G
 buffered=0
 fadvise_hint=0
+continue_on_error=write
+ignore_error=,EBUSY
 
 #################################
 # Test3
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux