ceph: change ceph.file.layout.* implementation, content
authorSage Weil <sage@inktank.com>
Sun, 20 Jan 2013 00:46:32 +0000 (16:46 -0800)
committerSage Weil <sage@inktank.com>
Thu, 14 Feb 2013 02:26:10 +0000 (18:26 -0800)
commit32ab0bd78d7d9235efb38ad5cba6a3a6b39a1da6
tree84fc83be1c5008b4b233c1eba17bf22f2ae3502b
parentb65917dd2700b7d12e25e2e0bbfd58eb3c932158
ceph: change ceph.file.layout.* implementation, content

Implement a new method to generate the ceph.file.layout vxattr using
the new framework.

Use 'stripe_unit' instead of 'chunk_size'.

Include pool name, either as a string or as an integer.

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