[PATCH v6 2/4] ndctl, monitor: add ndctl monitor daemon

2018-05-06 Thread QI Fuli
This patch adds the body file of ndctl monitor daemon. Signed-off-by: QI Fuli --- builtin.h | 1 + ndctl/Makefile.am | 3 +- ndctl/monitor.c | 460 ++ ndctl/ndctl.c | 1 + 4 files changed, 464 insertions(+),

[PATCH v6 3/4] ndctl, monitor: add default configuration file

2018-05-06 Thread QI Fuli
This patch adds the default configuration file of ndctl monitor. Users can change the configuration by editing this file or by using [--config-file=] option to override this one. The monitor started by systemd follows the configuration in this file. Signed-off-by: QI Fuli

[PATCH v6 4/4] ndctl, monitor: add the unit file of systemd for ndctl-monitor service

2018-05-06 Thread QI Fuli
This patch adds the systemd unit file for ndctl-monitor service. The systemd unit directory can be configured by setting environment variable "--with-systemd-unit-dir[=DIR]". Signed-off-by: QI Fuli --- autogen.sh | 3 ++- configure.ac|

[PATCH v6 0/4] ndctl, monitor: add ndctl monitor daemon

2018-05-06 Thread QI Fuli
This is the v6 patch for ndctl monitor daemon, a tiny daemon to monitor the smart events of nvdimm DIMMs. Users can run a monitor as a one-shot command or a daemon in background by using the [--daemon] option. DIMMs to monitor can be selected by [--dimm] [--bus] [--region] [--namespace] options,

[PATCH v6 1/4] ndctl, util: add OPTION_FILENAME to parse_opt_type

2018-05-06 Thread QI Fuli
This patch borrows the OPTION_FILENAME from git to ndctl to make sure filename is correct. Some related refactoring is also included: - adds parse_options_prefix() interface - moves is_absolute from util/help.c to util/util.c - adds a new file util/abspath.c Signed-off-by: QI Fuli

ypqianafktavg

2018-05-06 Thread Bounced mail
The original message was received at Mon, 7 May 2018 11:32:16 +0800 from lists.01.org [155.162.146.209] - The following addresses had permanent fatal errors - - Transcript of session follows - while talking to lists.01.org.: >>> MAIL From:"Bounced

RE: [PATCH v5 1/4] ndctl, util: add OPTION_FILENAME to parse_opt_type

2018-05-06 Thread Qi, Fuli
> -Original Message- > From: Dan Williams [mailto:dan.j.willi...@intel.com] > Sent: Friday, May 4, 2018 12:26 PM > To: Qi, Fuli/斉 福利 > Cc: linux-nvdimm > Subject: Re: [PATCH v5 1/4] ndctl, util: add OPTION_FILENAME to parse_opt_type >

RE: [PATCH v2] ndctl, filter: fix "keyword 'all' is ignored" in util__filter()

2018-05-06 Thread Qi, Fuli
> -Original Message- > From: Verma, Vishal L [mailto:vishal.l.ve...@intel.com] > Sent: Thursday, May 3, 2018 6:38 AM > To: linux-nvdimm@lists.01.org; Qi, Fuli/斉 福利 > Subject: Re: [PATCH v2] ndctl, filter: fix "keyword 'all' is ignored" in > util__filter() > > On

Re: [PATCH v3 1/3] resource: Use list_head to link sibling resource

2018-05-06 Thread Baoquan He
Hi Wei Yang, On 04/26/18 at 09:18am, Wei Yang wrote: > On Thu, Apr 19, 2018 at 08:18:46AM +0800, Baoquan He wrote: > >The struct resource uses singly linked list to link siblings. It's not > >easy to do reverse iteration on sibling list. So replace it with list_head. > > > > Hi, Baoquan > >

Re: [PATCH v3 1/3] resource: Use list_head to link sibling resource

2018-05-06 Thread Baoquan He
On 04/26/18 at 11:01am, kbuild test robot wrote: > Hi Baoquan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.17-rc2 next-20180424] > [if your patch is applied to the wrong git tree, please drop us a note to > help

Re: [PATCH v3 1/3] resource: Use list_head to link sibling resource

2018-05-06 Thread Baoquan He
On 04/26/18 at 11:23am, kbuild test robot wrote: > Hi Baoquan, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.17-rc2 next-20180424] > [if your patch is applied to the wrong git tree, please drop us a note to > help