]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/MDSMap output -1 instead of 0 when no fs present. 10202/head
authorXiaoxi Chen <xiaoxchen@ebay.com>
Tue, 19 Jul 2016 01:56:35 +0000 (09:56 +0800)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Tue, 19 Jul 2016 01:58:24 +0000 (09:58 +0800)
commit89cd5dd22364cdefbcbd3e392faa326a03d82d0d
tree1ec968ebeed5882eb867a8fc3f9a46d8dae21ad1
parent12c068365c43a140fe1fe23bf68318342710e84d
mds/MDSMap output -1 instead of 0 when no fs present.

When no fs present, the mdsmap::dump will output metadata_pool: 0,
which is misleading.

Change the initial value of metadata_pool from 0 to -1.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
src/mds/MDSMap.h