]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: parse ceph.*.layout vxattr key/value content
authorSage Weil <sage@inktank.com>
Mon, 21 Jan 2013 05:53:37 +0000 (21:53 -0800)
committerGreg Farnum <greg@inktank.com>
Thu, 21 Feb 2013 21:44:01 +0000 (13:44 -0800)
commit84ef1649c5aef7eb8c75ff90d021212752e4a919
tree70e67ef48c3d251d42b46b86961c4f93bede9b43
parentad00fc72e15c5c56338400b1e8862a9e4791bbe6
mds: parse ceph.*.layout vxattr key/value content

Use qi to parse a strictly formatted set of key/value pairs.  Be picky
about whitespace.  Any subset of recognized keys is allowed.  Parse the
same set of keys as the ceph.*.layout.* vxattrs.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 5551aa5b3b5c2e9e7006476b9cd8cc181d2c9a04)
qa/workunits/misc/layout_vxattrs.sh
src/mds/Server.cc