This is a patch set of ndctl monitor, a tiny daemon to monitor the smart
events of nvdimm dimms. When a smart event fires, monitor will output
the notification which including dimm health status to syslog or a
special file according to users' configuration. The output notification
follows json form
This patch is used to add $ndctl create-monitor command, by which users can
create a new monitor. Users can select the DIMMS to be monitored by using
[--dimm] [--bus] [--region] [--namespace] options. The notifications can
be outputed to a special file or syslog by using [--output] option, the
spec
This patch is used to add $ndctl show-monitor command, by which users
can check the specific of a monitor.
Example: $ndctl show-monitor --monitor m_nmem1
Signed-off-by: QI Fuli
---
builtin.h | 1 +
ndctl/monitor.c | 35 +++
ndctl/ndctl.c | 1 +
3 files c
This patch is used to add $ndctl destroy-monitor command, by which users
can destroy a monitor. After the monitor is destroyed, the file with
same name under /var/ndctl/monitor will also be deleted.
Example: #ndctl destroy-monitor --monitor m_nmem1
Signed-off-by: QI Fuli
---
builtin.h | 1
This patch adds $ndctl list-monitor command, by which users can list all
currently running monitors.
Example: $ndctl list-monitor --all
Signed-off-by: QI Fuli
---
builtin.h | 1 +
ndctl/monitor.c | 32
ndctl/ndctl.c | 1 +
3 files changed, 34 insertions
This patch adds LOG_NOTICE level to log_priority for the notifications
of nvdimm dimm over threshold event. Currently, the LOG_INFO level
is too low, and the notifications are not up to LOG_ERROR level.
Signed-off-by: QI Fuli
---
util/log.c | 2 ++
util/log.h | 3 +++
2 files changed, 5 insertio
On Fri, 2018-02-09 at 17:02 +0900, QI Fuli wrote:
> This is a patch set of ndctl monitor, a tiny daemon to monitor the
> smart
> events of nvdimm dimms. When a smart event fires, monitor will output
> the notification which including dimm health status to syslog or a
> special file according to us
From: Dan Williams
When device-dax is operating in huge-page mode we want it to behave like
hugetlbfs and report the MMU page mapping size that is being enforced by
the vma. Similar to commit 31383c6865a5 "mm, hugetlbfs: introduce
->split() to vm_operations_struct" it would be messy to teach
vma_
From: Dan Williams
Given that device-dax is making similar page mapping size guarantees as
hugetlbfs, emit the size in smaps and any other kernel path that
requests the mapping size of a vma.
Reported-by: Jane Chu
Signed-off-by: Dan Williams
---
drivers/dax/device.c | 10 ++
1 file
Andrew,
>From Dan Williams:
Here is another occasion where we want special-case hugetlbfs enabling
to also apply to device-dax. I started to wonder what other hstate
conversions we might do beyond ->split() and ->pagesize(), but this
appears to be the last of the usages of hstate_vma() in
generic/
On Fri, Feb 9, 2018 at 12:02 AM, QI Fuli wrote:
> This is a patch set of ndctl monitor, a tiny daemon to monitor the smart
> events of nvdimm dimms. When a smart event fires, monitor will output
> the notification which including dimm health status to syslog or a
> special file according to users'
On ARM and PowerPC PAGE_SIZE is not defined. Fall back to sysconf().
Signed-off-by: Dan Williams
---
ndctl/ndctl.h |5 +
1 file changed, 5 insertions(+)
diff --git a/ndctl/ndctl.h b/ndctl/ndctl.h
index eb5a9b387b3d..ebd2a41cce46 100644
--- a/ndctl/ndctl.h
+++ b/ndctl/ndctl.h
@@ -16,6 +1
The firmware update passes when it should skip due to a misplaced
newline.
Cc: Dave Jiang
Signed-off-by: Dan Williams
---
test/firmware-update.sh |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/firmware-update.sh b/test/firmware-update.sh
index 79767d2dc41f..0d5bcd
The hugetlb test has x86 assumptions. Skip instead of fail to enable
package build environments that run the unit tests.
Signed-off-by: Dan Williams
---
test/hugetlb.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/test/hugetlb.c b/test/hugetlb.c
index a08a93ad40f3.
14 matches
Mail list logo