nvdimm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [ndctl PATCH 0/5] make ndctl support global configuration files
@ 2021-08-22 20:30 QI Fuli
  2021-08-22 20:30 ` [ndctl PATCH 1/5] ndctl, ccan: import ciniparser QI Fuli
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: QI Fuli @ 2021-08-22 20:30 UTC (permalink / raw)
  To: nvdimm; +Cc: QI Fuli

From: QI Fuli <qi.fuli@fujitsu.com>

This patch set is used to make ndctl support global configuration files.
All files with .conf suffix under {sysconfdir}/ndctl can be regarded
as ndctl global configration files that all ndctl commands can refer to.

Signed-off-by: QI Fuli <qi.fuli@fujitsu.com>

QI Fuli (5):
  ndctl, ccan: import ciniparser
  ndctl, util: add parse-configs helper
  ndctl: make ndctl support configuration files
  ndctl, config: add the default ndctl configuration file
  ndctl, monitor: refactor monitor for supporting multiple config files

 Documentation/ndctl/Makefile.am       |   2 +-
 Documentation/ndctl/ndctl-monitor.txt |   8 +-
 Makefile.am                           |   8 +-
 ccan/ciniparser/ciniparser.c          | 480 ++++++++++++++++++++++++++
 ccan/ciniparser/ciniparser.h          | 262 ++++++++++++++
 ccan/ciniparser/dictionary.c          | 266 ++++++++++++++
 ccan/ciniparser/dictionary.h          | 166 +++++++++
 configure.ac                          |   6 +-
 ndctl/Makefile.am                     |  10 +-
 ndctl/lib/Makefile.am                 |   4 +
 ndctl/lib/libndctl.c                  |  52 +++
 ndctl/lib/libndctl.sym                |   2 +
 ndctl/lib/private.h                   |   1 +
 ndctl/libndctl.h                      |   2 +
 ndctl/monitor.c                       |  69 ++--
 ndctl/ndctl.c                         |   1 +
 ndctl/ndctl.conf                      |  56 +++
 util/parse-configs.c                  |  82 +++++
 util/parse-configs.h                  |  34 ++
 19 files changed, 1467 insertions(+), 44 deletions(-)
 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
 create mode 100644 ndctl/ndctl.conf
 create mode 100644 util/parse-configs.c
 create mode 100644 util/parse-configs.h

-- 
2.31.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-24  2:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22 20:30 [ndctl PATCH 0/5] make ndctl support global configuration files QI Fuli
2021-08-22 20:30 ` [ndctl PATCH 1/5] ndctl, ccan: import ciniparser QI Fuli
2021-08-23 16:48   ` Dan Williams
2021-08-23 19:41     ` Verma, Vishal L
2021-08-24  2:30       ` qi.fuli
2021-08-22 20:30 ` [ndctl PATCH 2/5] ndctl, util: add parse-configs helper QI Fuli
2021-08-22 20:30 ` [ndctl PATCH 3/5] ndctl: make ndctl support configuration files QI Fuli
2021-08-22 20:30 ` [ndctl PATCH 4/5] ndctl, config: add the default ndctl configuration file QI Fuli
2021-08-22 20:30 ` [ndctl PATCH 5/5] ndctl, monitor: refactor monitor for supporting multiple config files QI Fuli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).