summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-08-17 21:47:36 +0200
committerSage Weil <sage@newdream.net>2010-08-17 23:29:30 +0200
commit25516510695f008178159b1e382fb58afdc05a2b (patch)
treed33dc3fa4de5ab446c97616f506a3901fe302197 /qa
parentmds: fix rdlock referral on snapped inode to head (diff)
downloadceph-25516510695f008178159b1e382fb58afdc05a2b.tar.xz
ceph-25516510695f008178159b1e382fb58afdc05a2b.zip
qa: add capwb check for case where client doesn't send flushsnap
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/snaptest-capwb.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/workunits/snaptest-capwb.sh b/qa/workunits/snaptest-capwb.sh
index bca9f399d94..d293c6f9606 100755
--- a/qa/workunits/snaptest-capwb.sh
+++ b/qa/workunits/snaptest-capwb.sh
@@ -17,4 +17,13 @@ echo more >> foo/b2
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