mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
ca97fae81f
Test that it works in snaptest-0.sh, and set the flag in all the snap workunits so they continue to function. Signed-off-by: Greg Farnum <greg@inktank.com> Reviewed-by: Loic Dachary <loic@dachary.org>
19 lines
230 B
Bash
Executable File
19 lines
230 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
ceph mds set allow_new_snaps --yes-i-really-mean-it
|
|
|
|
#
|
|
# 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 |