From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Williamson Subject: Re: On monitor development, bugs, and reviews Date: Tue, 12 Sep 2017 15:01:01 -0700 (PDT) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from mx2.suse.de ([195.135.220.15]:48948 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751831AbdILWBU (ORCPT ); Tue, 12 Sep 2017 18:01:20 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Sage Weil Cc: Joao Eduardo Luis , "ceph-devel@vger.kernel.org" , Kefu Chai On Tue, 12 Sep 2017, Sage Weil wrote: > I think one good place to start would be building a framework around the > CLI commands. If you look at FSCommand it provides a structured way to > implement commands that doesn't add to the nasty if/else pile in the > OSDMonitor and elsewhere. I started some work on exactly this a while back. It turns out to reach pretty far into things, all the way to the Python interface, but I had made pretty good headway. Unfortunately, I believe this is lost on account of an SSD explosion, but if the powers that be are also ok with it, it wouldn't take much to get me to have another look. -Jesse