Re: [RFC v2 03/83] Add super.h.

2018-03-16 Thread Darrick J. Wong
On Thu, Mar 15, 2018 at 11:17:54PM -0700, Andiry Xu wrote: > On Thu, Mar 15, 2018 at 7:59 PM, Theodore Y. Ts'o wrote: > > On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: > >> > >> You could also have a resolution of less than a nanosecond. Note > >> that today, the

Re: [RFC PATCH v4] ndctl: monitor: add ndctl monitor daemon

2018-03-16 Thread Yasunori Goto
Hi, > > +static void log_syslog(struct ndctl_ctx *ctx, int priority, const char > > *file, > > + int line, const char *fn, const char *format, va_list args) > > +{ > > + char *buf = (char *)malloc(BUF_SIZE); > > + vsnprintf(buf, BUF_SIZE, format, args); > > +

Returned mail: Data format error

2018-03-16 Thread Post Office
The original message was received at Fri, 16 Mar 2018 15:49:57 +0800 from lists.01.org [140.63.74.149] - The following addresses had permanent fatal errors - ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org

Re: [RFC v2 03/83] Add super.h.

2018-03-16 Thread Andiry Xu
On Thu, Mar 15, 2018 at 7:59 PM, Theodore Y. Ts'o wrote: > On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: >> >> You could also have a resolution of less than a nanosecond. Note >> that today, the file time stamps generated by the kernel are in >> jiffies resolution,

Re: [RFC PATCH v4] ndctl: monitor: add ndctl monitor daemon

2018-03-16 Thread Yasunori Goto
> > b) About using systemctl command > > 3) Should we need to limit the maximum number of running daemons to be > > one? > >If yes, I am thinking the option should support multiple values, then > >users can modify the default configuration by using [--conf-file] > > option.

Re: [RFC PATCH v4] ndctl: monitor: add ndctl monitor daemon

2018-03-16 Thread Qi, Fuli
On 2018/03/16 16:33, Yasunori Goto wrote: b) About using systemctl command 3) Should we need to limit the maximum number of running daemons to be one? If yes, I am thinking the option should support multiple values, then users can modify the default configuration by

Re: [RFC v2 03/83] Add super.h.

2018-03-16 Thread Arnd Bergmann
On Fri, Mar 16, 2018 at 3:59 AM, Theodore Y. Ts'o wrote: > On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: >> >> You could also have a resolution of less than a nanosecond. Note >> that today, the file time stamps generated by the kernel are in >> jiffies resolution,

Re: [RFC PATCH v4] ndctl: monitor: add ndctl monitor daemon

2018-03-16 Thread Dan Williams
On Thu, Mar 15, 2018 at 11:55 PM, Yasunori Goto wrote: > Hi, > >> > +static void log_syslog(struct ndctl_ctx *ctx, int priority, const char >> > *file, >> > + int line, const char *fn, const char *format, va_list args) >> > +{ >> > + char *buf = (char

Re: [PATCH v6 11/15] mm, fs, dax: handle layout changes to pinned dax mappings

2018-03-16 Thread Christoph Hellwig
Looks good (at least up to my comprehension of the mm code :)) Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v6 15/15] xfs, dax: introduce xfs_break_dax_layouts()

2018-03-16 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v6 12/15] xfs: require mmap lock for xfs_break_layouts()

2018-03-16 Thread Dan Williams
On Fri, Mar 16, 2018 at 12:04 PM, Christoph Hellwig wrote: > On Thu, Mar 15, 2018 at 08:52:29AM -0700, Dan Williams wrote: >> In preparation for adding coordination between truncate operations and >> busy dax-pages, extend xfs_break_layouts() to assume it must be called >> with the

Re: [PATCH v6 13/15] xfs: communicate lock drop events from xfs_break_layouts()

2018-03-16 Thread Christoph Hellwig
On Thu, Mar 15, 2018 at 08:52:39AM -0700, Dan Williams wrote: > In preparation for adding a new layout type, teach xfs_break_layouts() > to return a positive number if it needed to drop locks while trying to > break leases. For all layouts to be successfully broken each layout type > needs to be

Re: [PATCH v6 04/15] xfs, dax: introduce xfs_dax_aops

2018-03-16 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v6 02/15] fs, dax: prepare for dax-specific address_space_operations

2018-03-16 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v6 03/15] block, dax: remove dead code in blkdev_writepages()

2018-03-16 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH v6 14/15] xfs: prepare xfs_break_layouts() for another layout type

2018-03-16 Thread Christoph Hellwig
Looks fine: Reviewed-by: Christoph Hellwig ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [RFC PATCH v4] ndctl: monitor: add ndctl monitor daemon

2018-03-16 Thread Yasunori Goto
> On Thu, Mar 15, 2018 at 11:55 PM, Yasunori Goto wrote: > > Hi, > > > >> > +static void log_syslog(struct ndctl_ctx *ctx, int priority, const char > >> > *file, > >> > + int line, const char *fn, const char *format, va_list args) > >> > +{ > >> > + char *buf =

Re: [PATCH] acpi, numa: fix pxm to online numa node associations

2018-03-16 Thread Dan Williams
[ adding Toshi's correct address ] On Thu, Mar 15, 2018 at 8:08 PM, Dan Williams wrote: > Commit 99759869faf1 "acpi: Add acpi_map_pxm_to_online_node()" added > support for mapping a given proximity to its nearest, by SLIT distance, > online node. However, it sometimes