diff options
author | Yan, Zheng <zyan@redhat.com> | 2018-04-17 10:21:18 +0200 |
---|---|---|
committer | Yan, Zheng <zyan@redhat.com> | 2018-04-19 06:56:38 +0200 |
commit | 81d0554e5d29145cf15eeb849515911f2c75095a (patch) | |
tree | 38f61e117b66cd1c4972733b9f12ac20e81d9c0f /src/include/ceph_fs.h | |
parent | mds: close past parents after snaprealm format gets converted (diff) | |
download | ceph-81d0554e5d29145cf15eeb849515911f2c75095a.tar.xz ceph-81d0554e5d29145cf15eeb849515911f2c75095a.zip |
mds: allow snapshot by default for new filesystem
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/23623
Diffstat (limited to 'src/include/ceph_fs.h')
-rw-r--r-- | src/include/ceph_fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h index 7e3fe651fa9..b6019b857df 100644 --- a/src/include/ceph_fs.h +++ b/src/include/ceph_fs.h @@ -239,7 +239,8 @@ struct ceph_mon_subscribe_ack { #define CEPH_MDSMAP_ALLOW_MULTIMDS_SNAPS (1<<4) /* cluster alllowed to enable MULTIMDS and SNAPS at the same time */ -#define CEPH_MDSMAP_DEFAULTS CEPH_MDSMAP_ALLOW_MULTIMDS_SNAPS +#define CEPH_MDSMAP_DEFAULTS (CEPH_MDSMAP_ALLOW_SNAPS | \ + CEPH_MDSMAP_ALLOW_MULTIMDS_SNAPS) /* * mds states |