Message ID | 20190107083833.25941-1-qi.fuli@jp.fujitsu.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-nvdimm-bounces@lists.01.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 23D2114DE for <patchwork-linux-nvdimm@patchwork.kernel.org>; Mon, 7 Jan 2019 08:38:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 069572836F for <patchwork-linux-nvdimm@patchwork.kernel.org>; Mon, 7 Jan 2019 08:38:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAA50283E7; Mon, 7 Jan 2019 08:38:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 708AC2836F for <patchwork-linux-nvdimm@patchwork.kernel.org>; Mon, 7 Jan 2019 08:38:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 045A8211A208E; Mon, 7 Jan 2019 00:38:51 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=211.128.242.41; helo=mgwym02.jp.fujitsu.com; envelope-from=qi.fuli@jp.fujitsu.com; receiver=linux-nvdimm@lists.01.org Received: from mgwym02.jp.fujitsu.com (mgwym02.jp.fujitsu.com [211.128.242.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B018F21B02822 for <linux-nvdimm@lists.01.org>; Mon, 7 Jan 2019 00:38:47 -0800 (PST) Received: from yt-mxoi1.gw.nic.fujitsu.com (unknown [192.168.229.67]) by mgwym02.jp.fujitsu.com with smtp id 621c_a73a_23eb0f01_ab0a_4d00_8f56_7e2f1c3d0a72; Mon, 07 Jan 2019 17:38:44 +0900 Received: from m3051.s.css.fujitsu.com (m3051.s.css.fujitsu.com [10.134.21.209]) by yt-mxoi1.gw.nic.fujitsu.com (Postfix) with ESMTP id A46E3AC0137 for <linux-nvdimm@lists.01.org>; Mon, 7 Jan 2019 17:38:43 +0900 (JST) Received: from qi-nvdimm.8.8.8.8 (unknown [10.124.196.110]) by m3051.s.css.fujitsu.com (Postfix) with ESMTP id 83042123; Mon, 7 Jan 2019 17:38:43 +0900 (JST) From: QI Fuli <qi.fuli@jp.fujitsu.com> To: linux-nvdimm@lists.01.org Subject: [ndctl PATCH v2 0/2] ndctl, monitor: refactor read_config_file Date: Mon, 7 Jan 2019 17:38:31 +0900 Message-Id: <20190107083833.25941-1-qi.fuli@jp.fujitsu.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-TM-AS-MML: disable X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." <linux-nvdimm.lists.01.org> List-Unsubscribe: <https://lists.01.org/mailman/options/linux-nvdimm>, <mailto:linux-nvdimm-request@lists.01.org?subject=unsubscribe> List-Archive: <http://lists.01.org/pipermail/linux-nvdimm/> List-Post: <mailto:linux-nvdimm@lists.01.org> List-Help: <mailto:linux-nvdimm-request@lists.01.org?subject=help> List-Subscribe: <https://lists.01.org/mailman/listinfo/linux-nvdimm>, <mailto:linux-nvdimm-request@lists.01.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" <linux-nvdimm-bounces@lists.01.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ndctl, monitor: refactor read_config_file
|
expand
|
This patch set is used for refactoring read_config_file by using ccan/ciniparser library. Signed-off-by: QI Fuli <qi.fuli@jp.fujitsu.com> -- Change log since v1: - Fix the conflicts with the lastest cleanup patch of monitor QI Fuli (2): ndctl: add the ciniparser tool from ccan ndctl, monitor: refactor read_config_file Makefile.am | 6 +- ccan/ciniparser/LICENSE | 1 + ccan/ciniparser/ciniparser.c | 480 +++++++++++++++++++++++++++++++++++ ccan/ciniparser/ciniparser.h | 262 +++++++++++++++++++ ccan/ciniparser/dictionary.c | 266 +++++++++++++++++++ ccan/ciniparser/dictionary.h | 166 ++++++++++++ ndctl/Makefile.am | 1 + ndctl/monitor.c | 115 +++------ ndctl/monitor.conf | 2 + 9 files changed, 1212 insertions(+), 87 deletions(-) create mode 120000 ccan/ciniparser/LICENSE create mode 100644 ccan/ciniparser/ciniparser.c create mode 100644 ccan/ciniparser/ciniparser.h create mode 100644 ccan/ciniparser/dictionary.c create mode 100644 ccan/ciniparser/dictionary.h