From: Wido den Hollander Date: Thu, 8 Sep 2016 12:44:57 +0000 (+0200) Subject: mds: Set mds_snap_max_uid to 4294967294 X-Git-Tag: v11.0.1~256^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8a530e3d754d2efded3735455402f9bd2d57274;p=ceph.git mds: Set mds_snap_max_uid to 4294967294 Since kernel version 2.6 the Linux kernel supports 32-bit integers and thus the limit is no longer 65536. By setting this to a higher default value we make sure that all users will be allowed to create snapshots in the future by default. Signed-off-by: Wido den Hollander --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 7a6d35e42018..860ac738e9fa 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -541,7 +541,7 @@ OPTION(mds_op_history_duration, OPT_U32, 600) // Oldest completed op to track OPTION(mds_op_complaint_time, OPT_FLOAT, 30) // how many seconds old makes an op complaint-worthy OPTION(mds_op_log_threshold, OPT_INT, 5) // how many op log messages to show in one go OPTION(mds_snap_min_uid, OPT_U32, 0) // The minimum UID required to create a snapshot -OPTION(mds_snap_max_uid, OPT_U32, 65536) // The maximum UID allowed to create a snapshot +OPTION(mds_snap_max_uid, OPT_U32, 4294967294) // The maximum UID allowed to create a snapshot OPTION(mds_snap_rstat, OPT_BOOL, false) // enable/disbale nested stat for snapshot OPTION(mds_verify_backtrace, OPT_U32, 1) // detect clients which aren't trimming completed requests