From: Samuel Just Date: Fri, 31 May 2013 22:11:02 +0000 (-0700) Subject: OSD: *inodes_hard_limit must be less than the fd limit X-Git-Tag: v0.65~170 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a03ccf17b0df6e05120e77a52a6b85d56be7658f;p=ceph.git OSD: *inodes_hard_limit must be less than the fd limit Also add a comment explaining that. Fixes: #5224 Signed-off-by: Samuel Just Reviewed-by: Greg Farnum --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index e23c8affb0f0..a83f7d0023a8 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -489,12 +489,14 @@ OPTION(filestore_wbthrottle_btrfs_bytes_hard_limit, OPT_U64, 100<<20) OPTION(filestore_wbthrottle_btrfs_ios_start_flusher, OPT_U64, 100) OPTION(filestore_wbthrottle_btrfs_ios_hard_limit, OPT_U64, 1000) OPTION(filestore_wbthrottle_btrfs_inodes_start_flusher, OPT_U64, 100) -OPTION(filestore_wbthrottle_btrfs_inodes_hard_limit, OPT_U64, 1000) OPTION(filestore_wbthrottle_xfs_bytes_start_flusher, OPT_U64, 10<<20) OPTION(filestore_wbthrottle_xfs_bytes_hard_limit, OPT_U64, 100<<20) OPTION(filestore_wbthrottle_xfs_ios_start_flusher, OPT_U64, 10) OPTION(filestore_wbthrottle_xfs_ios_hard_limit, OPT_U64, 100) OPTION(filestore_wbthrottle_xfs_inodes_start_flusher, OPT_U64, 10) + +/// These must be less than the fd limit +OPTION(filestore_wbthrottle_btrfs_inodes_hard_limit, OPT_U64, 256) OPTION(filestore_wbthrottle_xfs_inodes_hard_limit, OPT_U64, 100) // Tests index failure paths