]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: allow data pool to be specfied on create
authorSage Weil <sage@inktank.com>
Thu, 6 Dec 2012 08:10:29 +0000 (00:10 -0800)
committerSage Weil <sage@inktank.com>
Mon, 24 Dec 2012 03:39:22 +0000 (19:39 -0800)
commit99d9e1daa580dc61bbf00909188e05f561e37470
tree2c72adc05193d849122f8e44431f8817da317e52
parent697ed23cb96b4e64d7a1be130de118d89c5eec15
mds: allow data pool to be specfied on create

Reuse old preferred_pg field.  Only use if the new CREATEPOOLID feature
is present, and the value is >= 0.

Verify that the data pool is allowed, or return EINVAL to the client.

Signed-off-by: Sage Weil <sage@inktank.com>
src/include/ceph_features.h
src/include/ceph_fs.h
src/mds/MDSMap.h
src/mds/Server.cc