diff options
author | Sage Weil <sage@newdream.net> | 2010-08-17 21:47:36 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-08-17 23:29:30 +0200 |
commit | 25516510695f008178159b1e382fb58afdc05a2b (patch) | |
tree | d33dc3fa4de5ab446c97616f506a3901fe302197 /qa | |
parent | mds: fix rdlock referral on snapped inode to head (diff) | |
download | ceph-25516510695f008178159b1e382fb58afdc05a2b.tar.xz ceph-25516510695f008178159b1e382fb58afdc05a2b.zip |
qa: add capwb check for case where client doesn't send flushsnap
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/workunits/snaptest-capwb.sh | 9 |
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 |