From: John Spray Date: Thu, 6 Aug 2015 13:59:36 +0000 (+0100) Subject: qa: add fs layout case for stripe_size decrease X-Git-Tag: v9.0.3~7^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=278a6ae09795b64c7c2456cae3b53e9e0a49ea87;p=ceph.git qa: add fs layout case for stripe_size decrease The case fixed by commit: mds: fix setting whole layout in one vxattr Signed-off-by: John Spray --- diff --git a/qa/workunits/fs/misc/layout_vxattrs.sh b/qa/workunits/fs/misc/layout_vxattrs.sh index 3cb611ded5317..7284ab6778353 100755 --- a/qa/workunits/fs/misc/layout_vxattrs.sh +++ b/qa/workunits/fs/misc/layout_vxattrs.sh @@ -45,6 +45,12 @@ getfattr -n ceph.file.layout.stripe_count file2 | grep -q 16 getfattr -n ceph.file.layout.object_size file2 | grep -q 41943040 getfattr -n ceph.file.layout.pool file2 | grep -q data +setfattr -n ceph.file.layout -v "stripe_unit=2097152 stripe_count=4 object_size=2097152 pool=data" file2 +getfattr -n ceph.file.layout.stripe_unit file2 | grep -q 2097152 +getfattr -n ceph.file.layout.stripe_count file2 | grep -q 4 +getfattr -n ceph.file.layout.object_size file2 | grep -q 2097152 +getfattr -n ceph.file.layout.pool file2 | grep -q data + # dir rm -f dir/file || true rmdir dir || true