Re: [PATCH 2/2] btrfs-progs: fsck-tests: Check if clear space cache works

2016-10-25 Thread David Sterba
Fixed and applied. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/2] btrfs-progs: fsck-tests: Check if clear space cache works

2016-10-19 Thread David Sterba
On Thu, Oct 13, 2016 at 05:22:27PM +0800, Qu Wenruo wrote: > +check_prereq mkfs.btrfs > + > +setup_root_helper > +prepare_test_dev 1G > + > +tmp=$(mktemp) > +run_check $SUDO_HELPER $TOP/mkfs.btrfs -f $TEST_DEV > +run_check_mount_test_dev > + > +# Create files that takes at least 3 data chunks, whil

[PATCH 2/2] btrfs-progs: fsck-tests: Check if clear space cache works

2016-10-13 Thread Qu Wenruo
Add test case to check the basic function of --clear-space-cache. Signed-off-by: Qu Wenruo --- tests/fsck-tests/024-clear-space-cache/test.sh | 55 ++ 1 file changed, 55 insertions(+) create mode 100755 tests/fsck-tests/024-clear-space-cache/test.sh diff --git a/tests/f