mirror of
https://github.com/ceph/ceph
synced 2025-01-02 17:12:31 +00:00
qa/workunits/kclient/file_layout: escape *
Escape * so that it is expanded as root. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
a8497874b7
commit
945218cc30
@ -51,15 +51,15 @@ echo "hello, I'm a file with a custom layout" > layout_test/file2
|
||||
touch layout_test/file3
|
||||
cephfs layout_test/file3 show_layout > temp
|
||||
diff new_layout temp || return 1
|
||||
sudo cat /sys/kernel/debug/ceph/*/mdsmap > temp
|
||||
sudo cat /sys/kernel/debug/ceph/\*/mdsmap > temp
|
||||
ceph osd pool create newpool || true
|
||||
ceph mds add_data_pool 3 || true
|
||||
sudo cat /sys/kernel/debug/ceph/*/mdsmap > temp2
|
||||
sudo cat /sys/kernel/debug/ceph/\*/mdsmap > temp2
|
||||
while diff -q temp2 temp
|
||||
do
|
||||
echo "waiting for mdsmap to update"
|
||||
sleep 1
|
||||
sudo cat /sys/kernel/debug/ceph/*/mdsmap > temp2
|
||||
sudo cat /sys/kernel/debug/ceph/\*/mdsmap > temp2
|
||||
done
|
||||
sudo rm temp temp2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user