ceph: implement hidden per-field ceph.*.layout.* vxattrs
authorSage Weil <sage@inktank.com>
Mon, 21 Jan 2013 06:08:33 +0000 (22:08 -0800)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 02:26:17 +0000 (18:26 -0800)
commit695b711933689ea51af782760f4b1e2c6a42a631
treec2dba4e701916cf86434f5074bcbf04e5672e526
parent1f08f2b056ea6c2e12f4e95e88949a882a996208
ceph: implement hidden per-field ceph.*.layout.* vxattrs

Allow individual fields of the layout to be fetched via getxattr.
The ceph.dir.layout.* vxattr with "disappear" if the exists_cb
indicates there no dir layout set.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Sam Lang <sam.lang@inktank.com>
fs/ceph/xattr.c