These were probably just obscuring other failures.
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: John Spray <john.spray@inktank.com>
#!/bin/sh -ex
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
wget -q http://ceph.com/qa/linux-2.6.33.tar.bz2
mkdir foo
cp linux* foo
set -e
expect_failure mkdir .snap/foo
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
echo asdf > foo
mkdir .snap/foo
rmdir .snap/bar
rm foo
-ceph mds unset allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps false
expect_failure mkdir .snap/baz
-echo OK
\ No newline at end of file
+echo OK
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
echo 1 > file1
echo 2 > file2
#!/bin/bash
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
echo "Create dir 100 to 199 ..."
for i in $(seq 100 199); do
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
touch foo
chmod +x foo
mkdir foo
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
# make sure mds handles it when the client does not send flushsnap
echo x > foo/x
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
#
# make sure we keep an existing dn's seq
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
# multiple intervening snapshots with no modifications, and thus no
# snapflush client_caps messages. make sure the mds can handle this.
#!/bin/sh -x
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
mkdir .snap/foo
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
git clone git://ceph.com/git/ceph.git
cd ceph
#!/bin/sh -ex
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
# this tests fix for #1399
mkdir foo
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
echo asdf > a
mkdir .snap/1
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
echo "making directory tree and files"
mkdir -p 1/a/b/c/
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
file=linux-2.6.33.tar.bz2
wget -q http://ceph.com/qa/$file
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
#
# verify that a snap update on a parent realm will induce
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
echo "testing simple xattr wb"
touch x
set -e
-ceph mds set allow_new_snaps --yes-i-really-mean-it
+ceph mds set allow_new_snaps true --yes-i-really-mean-it
do_tarball() {
wget http://ceph.com/qa/$1