mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
a232d273c1
... filesystems other than 'cephfs'. It is not required to set 'allow_new_snaps' to True to allow snapshot to be created on a filesystem. Remove that setting. Remove 'fs/snaps/snaptest-0.sh' that is racy when running in parallel on an another client that mounted the same file system. Include a similar test in qa/tasks/cephfs/test_snapshots.py Signed-off-by: Ramana Raja <rraja@redhat.com>
19 lines
297 B
Bash
Executable File
19 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
do_tarball() {
|
|
wget http://download.ceph.com/qa/$1
|
|
tar xvf$2 $1
|
|
mkdir .snap/k
|
|
sync
|
|
rm -rv $3
|
|
cp -av .snap/k .
|
|
rmdir .snap/k
|
|
rm -rv k
|
|
rm $1
|
|
}
|
|
|
|
do_tarball coreutils_8.5.orig.tar.gz z coreutils-8.5
|
|
do_tarball linux-2.6.33.tar.bz2 j linux-2.6.33
|