[pve-devel] [PATCH 2/3] ceph init : disable debug options to improve performance

Alexandre Derumier aderumier at odiso.com
Fri Apr 28 09:52:58 CEST 2017


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/API2/Ceph.pm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
index 6ffa528e..cf675ac9 100644
--- a/PVE/API2/Ceph.pm
+++ b/PVE/API2/Ceph.pm
@@ -759,6 +759,41 @@ __PACKAGE__->register_method ({
 		'auth client required' => 'cephx',
 		'osd journal size' => $pve_osd_default_journal_size,
 		'osd pool default min size' => 1,
+		'debug asok' => '0/0',
+		'debug auth' => '0/0',
+		'debug buffer' => '0/0',
+		'debug client' => '0/0',
+		'debug context' => '0/0',
+		'debug crush' => '0/0',
+		'debug filer' => '0/0',
+		'debug filestore' => '0/0',
+		'debug finisher' => '0/0',
+		'debug heartbeatmap' => '0/0',
+		'debug journal' => '0/0',
+		'debug journaler' => '0/0',
+		'debug lockdep' => '0/0',
+		'debug mds' => '0/0',
+		'debug mds balancer' => '0/0',
+		'debug mds locker' => '0/0',
+		'debug mds log' => '0/0',
+		'debug mds log expire' => '0/0',
+		'debug mds migrator' => '0/0',
+		'debug mon' => '0/0',
+		'debug monc' => '0/0',
+		'debug ms' => '0/0',
+		'debug objclass' => '0/0',
+		'debug objectcacher' => '0/0',
+		'debug objecter' => '0/0',
+		'debug optracker' => '0/0',
+		'debug osd' => '0/0',
+		'debug paxos' => '0/0',
+		'debug perfcounter' => '0/0',
+		'debug rados' => '0/0',
+		'debug rbd' => '0/0',
+		'debug rgw' => '0/0',
+		'debug throttle' => '0/0',
+		'debug timer' => '0/0',
+		'debug tp' => '0/0',
 	    };
 
 	    # this does not work for default pools 
-- 
2.11.0




More information about the pve-devel mailing list