diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2016-12-19 14:56:42 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-12-21 16:29:06 +0100 |
commit | 46b8ea0e9928500c3fa12c65bf9049c0ac45fec8 (patch) | |
tree | 362c143ab3d68f54389e9000afd38a73e4914aea /tests/common | |
parent | 95ecaf0d61ae0bd5f70d6ddf79de3a36a24f816d (diff) |
btrfs-progs: convert-test: trigger chunk allocation after convert
Populate fs after convert so we can trigger data chunk allocation.
This can expose too restrict old rollback condition
Reported-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/common')
-rw-r--r-- | tests/common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/common b/tests/common index 571118a1..51c2e267 100644 --- a/tests/common +++ b/tests/common @@ -486,6 +486,10 @@ generate_dataset() { run_check $SUDO_HELPER ln -s "$dirpath/$long_filename" "$dirpath/slow_slink.$num" done ;; + large) + run_check $SUDO_HELPER dd if=/dev/urandom bs=32M count=1 \ + of="$dirpath/$dataset_type" >/dev/null 2>&1 + ;; esac } |