mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +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>
18 lines
178 B
Bash
Executable File
18 lines
178 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
#
|
|
# make sure we keep an existing dn's seq
|
|
#
|
|
|
|
mkdir a
|
|
mkdir .snap/bar
|
|
mkdir a/.snap/foo
|
|
rmdir a/.snap/foo
|
|
rmdir a
|
|
stat .snap/bar/a
|
|
rmdir .snap/bar
|
|
|
|
echo OK
|