Thread (2 messages) 2 messages, 2 authors, 2015-01-19

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

flat view
STALE4287d

From: Xiaoguang Wang <hidden>
Date: 2015-01-19 07:08:00
Also in: fstests
Subsystem: the rest · Maintainer: Linus Torvalds

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 <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help