Re: [PATCH v2 2/2] libnvdimm, region: sysfs trigger for nvdimm_flush()

2017-04-25 Thread Dan Williams
On Tue, Apr 25, 2017 at 9:37 AM, Ross Zwisler wrote: > On Mon, Apr 24, 2017 at 04:50:01PM -0700, Dan Williams wrote: >> The nvdimm_flush() mechanism helps to reduce the impact of an ADR >> (asynchronous-dimm-refresh) failure. The ADR mechanism handles flushing >> platform WPQ (write-pending-queue)

Re: [PATCH v2 2/2] libnvdimm, region: sysfs trigger for nvdimm_flush()

2017-04-25 Thread Ross Zwisler
On Mon, Apr 24, 2017 at 04:50:01PM -0700, Dan Williams wrote: > The nvdimm_flush() mechanism helps to reduce the impact of an ADR > (asynchronous-dimm-refresh) failure. The ADR mechanism handles flushing > platform WPQ (write-pending-queue) buffers when power is removed. The > nvdimm_flush() mechan

[PATCH v2 2/2] libnvdimm, region: sysfs trigger for nvdimm_flush()

2017-04-24 Thread Dan Williams
The nvdimm_flush() mechanism helps to reduce the impact of an ADR (asynchronous-dimm-refresh) failure. The ADR mechanism handles flushing platform WPQ (write-pending-queue) buffers when power is removed. The nvdimm_flush() mechanism performs that same function on-demand. When a pmem namespace is a