Re: Detecting NUMA per pmem

2018-06-28 Thread Oren Berman
Hi All We encountered a strange issue using pmem emulation. We configure emulated pmem devices in our system by adding these params to the boot command: memmap=32G!224G memmap=32G!480G . PMEM devices look OK. This issue is specific to 4.14 kernel AND centos 7.5, other combinations follow

[PATCH v9 0/3] ndctl, monitor: add ndctl monitor daemon

2018-06-28 Thread QI Fuli
This is the v9 patch for ndctl monitor, a tiny daemon to monitor the smart events of nvdimm DIMMs. Since NVDIMM does not have a feature like mirroring, if it breaks down, the data will be impossible to restore. Ndctl monitor daemon will catch the smart events notify from firmware and outputs

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

2018-06-28 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]". A monitor daemon can be started as a system service: # systemctl start ndctl-monitor.service Signed-off-by: QI Fuli

[PATCH v9 2/3] ndctl, monitor: add main ndctl monitor configuration file

2018-06-28 Thread QI Fuli
This patch adds the main configuration file(/etc/ndctl/monitor.conf) of ndctl monitor. It contains the configuration directives that give ndctl monitor instructions. Users can change the configuration by editing this file or using [--config-file] option to override this file. The changed value

[PATCH v9 1/3] ndctl, monitor: add ndctl monitor

2018-06-28 Thread QI Fuli
Ndctl monitor is used for monitoring the smart events of nvdimm DIMMs. When a smart event fires, monitor will output the notifications which include dimm health status and evnet informations to syslog or a logfile by setting [--logfile] option. The notifications follow json format and can be

回复:如-何-提-升-业-绩

2018-06-28 Thread 陆经理
=?{RAND_LETTER_2}2418?B?b20=?= To: linux-nvdimm@lists.01.org Content-Type: text/plain;charset="ll7825" Date: Fri, 25 May 2018-6-29 9:41:02+0800 X-Priority: 6 X-Mailer: FoxMail 3.11 Release [cn] 详=情=请=阅=读=附=件 ___ Linux-nvdimm mailing list

Re: [ndctl PATCH v2] ndctl: Add CONTRIBUTING.md

2018-06-28 Thread Yasunori Goto
> We were missing a CONTRIBUTING file to help new contributors follow the > expected guidelines. Add one that refers to the Linux Kernel for most of > these things, such as Coding style, Submitting Patches, and the DCO. > > Cc: Dan Williams > Reviewed-by: Dan Williams > Signed-off-by: Vishal

[ndctl PATCH] ndctl, test: add start/wait scrub to injection tests

2018-06-28 Thread Vishal Verma
A number of tests that perform error injection were missing the start/wait scrub workaround needed for nfit_test namespaces, causing these tests to ocassionally fail. Fix it by starting and waiting for a scrub after injection in these remaining places. Cc: Dan Williams Signed-off-by: Vishal

Re: [ndctl PATCH] ndctl, test: Disable poison tests for now

2018-06-28 Thread Dan Williams
On Thu, Jun 28, 2018 at 12:28 PM, wrote: > Hi, Dan, > > I'm concerned about this check > > + if (!ndctl_test_attempt(test, KERNEL_VERSION(4, 19, 0))) > > I read it as: this ndctl test only works for upstream kernel 4.19 and above. > > For Linux distributors, such as us, we pick a major

[ndctl PATCH v2] ndctl: Add CONTRIBUTING.md

2018-06-28 Thread Vishal Verma
We were missing a CONTRIBUTING file to help new contributors follow the expected guidelines. Add one that refers to the Linux Kernel for most of these things, such as Coding style, Submitting Patches, and the DCO. Cc: Dan Williams Reviewed-by: Dan Williams Signed-off-by: Vishal Verma ---

Re: [PATCH v3 1/3] pmem: only set QUEUE_FLAG_DAX for fsdax mode

2018-06-28 Thread Kani, Toshi
On Thu, 2018-06-28 at 13:04 -0600, Ross Zwisler wrote: > On Thu, Jun 28, 2018 at 05:42:34PM +, Kani, Toshi wrote: > > On Tue, 2018-06-26 at 16:04 -0600, Ross Zwisler wrote: > > > On Tue, Jun 26, 2018 at 02:51:52PM -0700, Dan Williams wrote: > > > > On Tue, Jun 26, 2018 at 2:31 PM, Kani, Toshi

Re: [ndctl PATCH] ndctl, test: Disable poison tests for now

2018-06-28 Thread jane . chu
Hi, Dan, I'm concerned about this check + if (!ndctl_test_attempt(test, KERNEL_VERSION(4, 19, 0))) I read it as: this ndctl test only works for upstream kernel 4.19 and above. For Linux distributors, such as us, we pick a major upstream release as the base OS, then painstakingly

Re: [PATCH v3 1/3] pmem: only set QUEUE_FLAG_DAX for fsdax mode

2018-06-28 Thread Ross Zwisler
On Thu, Jun 28, 2018 at 05:42:34PM +, Kani, Toshi wrote: > On Tue, 2018-06-26 at 16:04 -0600, Ross Zwisler wrote: > > On Tue, Jun 26, 2018 at 02:51:52PM -0700, Dan Williams wrote: > > > On Tue, Jun 26, 2018 at 2:31 PM, Kani, Toshi wrote: > > > > On Tue, 2018-06-26 at 14:28 -0700, Dan Williams

Re: [PATCH v3 1/3] pmem: only set QUEUE_FLAG_DAX for fsdax mode

2018-06-28 Thread Kani, Toshi
On Thu, 2018-06-28 at 13:48 -0400, Mike Snitzer wrote: > On Thu, Jun 28 2018 at 1:42pm -0400, > Kani, Toshi wrote: > > > On Tue, 2018-06-26 at 16:04 -0600, Ross Zwisler wrote: > > > On Tue, Jun 26, 2018 at 02:51:52PM -0700, Dan Williams wrote: > > > > On Tue, Jun 26, 2018 at 2:31 PM, Kani,

Re: [PATCH v3 1/3] pmem: only set QUEUE_FLAG_DAX for fsdax mode

2018-06-28 Thread Mike Snitzer
On Thu, Jun 28 2018 at 1:42pm -0400, Kani, Toshi wrote: > On Tue, 2018-06-26 at 16:04 -0600, Ross Zwisler wrote: > > On Tue, Jun 26, 2018 at 02:51:52PM -0700, Dan Williams wrote: > > > On Tue, Jun 26, 2018 at 2:31 PM, Kani, Toshi wrote: > > > > On Tue, 2018-06-26 at 14:28 -0700, Dan Williams

Re: [PATCH v3 1/3] pmem: only set QUEUE_FLAG_DAX for fsdax mode

2018-06-28 Thread Kani, Toshi
On Tue, 2018-06-26 at 16:04 -0600, Ross Zwisler wrote: > On Tue, Jun 26, 2018 at 02:51:52PM -0700, Dan Williams wrote: > > On Tue, Jun 26, 2018 at 2:31 PM, Kani, Toshi wrote: > > > On Tue, 2018-06-26 at 14:28 -0700, Dan Williams wrote: > > > > On Tue, Jun 26, 2018 at 2:23 PM, Kani, Toshi wrote:

[PATCH] acpi/nfit: fix cmd_rc for acpi_nfit_ctl to always return a value

2018-06-28 Thread Dave Jiang
cmd_rc is passed in by reference to the acpi_nfit_ctl() function and the caller expects a value returned. However, when the package is pass through via the ND_CMD_CALL command, cmd_rc is not touched. Make sure cmd_rc is always set. Fixes: aef253382266 ("libnvdimm, nfit: centralize command status

Re: [ndctl PATCH] ndctl: Add CONTRIBUTING.md

2018-06-28 Thread Verma, Vishal L
On Thu, 2018-06-28 at 10:11 +0900, Yasunori Goto wrote: > Hi, Vishal-san, > > > We were missing a CONTRIBUTING file to help new contributors follow > > the > > expected guidelines. Add one that refers to the Linux Kernel for > > most of > > these things, such as Coding style, Submitting

转发:如何打造合格的车间主任

2018-06-28 Thread 邵经理
linux-nvdimm 内 * 容* 见附 % 件 ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm