]> git.proxmox.com Git - ceph.git/blob - ceph/src/journal/Settings.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / journal / Settings.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef CEPH_JOURNAL_SETTINGS_H
5 #define CEPH_JOURNAL_SETTINGS_H
6
7 #include "include/int_types.h"
8
9 namespace journal {
10
11 struct Settings {
12 double commit_interval = 5; ///< commit position throttle (in secs)
13 uint64_t max_payload_bytes = 0; ///< 0 implies object size limit
14 int max_concurrent_object_sets = 0; ///< 0 implies no limit
15 std::set<std::string> whitelisted_laggy_clients;
16 ///< clients that mustn't be disconnected
17 };
18
19 } // namespace journal
20
21 #endif // # CEPH_JOURNAL_SETTINGS_H