summaryrefslogtreecommitdiff
path: root/common/filter
diff options
context:
space:
mode:
authorXing Gu <gux.fnst@cn.fujitsu.com>2015-02-12 14:14:00 +1100
committerDave Chinner <david@fromorbit.com>2015-02-12 14:14:00 +1100
commit5e8b9e64ecf0d2d3670d99b80d427090c49bbf82 (patch)
treeb74888636cf7ccb9abb1d5749637f0d741a9abb8 /common/filter
parentaa4efc97df570511ddf6f339a76fd0816da6b8a8 (diff)
btrfs: add regression test for remount with thread_pool resized
Regression test for a btrfs issue of resizing 'thread_pool' when remount the fs. This regression was introduced by the following linux kernel commit: btrfs: Added btrfs_workqueue_struct implemented ordered execution based on kernel workqueue 08a9ff3264181986d1d692a4e6fce3669700c9f8 And it was fixed by the following linux kernel commit: btrfs: fix crash in remount(thread_pool=) case 800ee2247f483b6d05ed47ef3bbc90b56451746c Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'common/filter')
-rw-r--r--common/filter4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/filter b/common/filter
index 05dbae6e..71ef2e2c 100644
--- a/common/filter
+++ b/common/filter
@@ -137,6 +137,10 @@ _filter_mkfs()
case $FSTYP in
xfs)
;;
+ btrfs)
+ sed -e "/Performing full device TRIM/d" \
+ -e "/Turning ON incompat feature/d"
+ return ;;
*)
cat - >/dev/null
perl -e 'print STDERR "dbsize=4096\nisize=256\n"'