Re: [PATCH v3] ndctl: add support in libndctl to provide deep flush

2018-04-10 Thread Dan Williams
On Tue, Apr 10, 2018 at 4:35 PM, Dave Jiang wrote: > Providing an API call in libndctl to support accessing the region deep_flush > in sysfs. > > Signed-off-by: Dave Jiang > --- > > v3: > - Add "\n" to sysfs write. (Dan) > - add O_CLOEXEC to open()

[PATCH v3] ndctl: add support in libndctl to provide deep flush

2018-04-10 Thread Dave Jiang
Providing an API call in libndctl to support accessing the region deep_flush in sysfs. Signed-off-by: Dave Jiang --- v3: - Add "\n" to sysfs write. (Dan) - add O_CLOEXEC to open() call for sysfs. (Dan) v2: Cover case where deep_flush doesn't exist, i.e. memmap=nn!ss.