qa: test witness subtree adjustment

This exercises the mds at least; we don't have a way to verify mds
behavior currently.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
Sage Weil 2011-06-08 11:22:26 -07:00
parent 21795aaf5d
commit a1a71471c2

View File

@ -19,3 +19,10 @@ mkdir -p mnt/a/dir4/child/foo
./ceph mds tell 0 export_dir /a/dir4/child 2
sleep 5
mv mnt/a/dir4 mnt/b/dir4
# dir: witness subtree adjustment
mkdir -p mnt/a/dir5/1/2/3/4
./ceph mds tell 0 export_dir /a/dir5/1/2/3 2
sleep 5
mv mnt/a/dir5 mnt/b