mirror of
https://github.com/ceph/ceph
synced 2025-01-02 09:02:34 +00:00
qa: snaptest-capwb check no snapflush case first
This commit is contained in:
parent
d2205a9423
commit
9dd2ffd710
@ -3,6 +3,16 @@
|
||||
set -e
|
||||
|
||||
mkdir foo
|
||||
|
||||
# make sure mds handles it when the client does not send flushsnap
|
||||
echo x > foo/x
|
||||
sync
|
||||
mkdir foo/.snap/ss
|
||||
ln foo/x foo/xx
|
||||
cat foo/.snap/ss/x
|
||||
rmdir foo/.snap/ss
|
||||
|
||||
#
|
||||
echo a > foo/a
|
||||
echo b > foo/b
|
||||
mkdir foo/.snap/s
|
||||
@ -18,12 +28,4 @@ echo "oh, it didn't hang! good job."
|
||||
cat foo/b
|
||||
rmdir foo/.snap/s
|
||||
|
||||
# make sure mds handles it when the client does not send flushsnap
|
||||
echo x > foo/x
|
||||
sync
|
||||
mkdir foo/.snap/ss
|
||||
ln foo/x foo/xx
|
||||
cat foo/.snap/ss/x
|
||||
rmdir foo/.snap/ss
|
||||
|
||||
rm -r foo
|
||||
|
Loading…
Reference in New Issue
Block a user