Re: Bug on ndctl ? (failed to create namespace: No such device or address)

2018-06-22 Thread Dan Williams
On Sun, Jun 17, 2018 at 9:49 PM, Yasunori Goto wrote: > Hi, > > I found a trouble when I use a box which has real NVDIMM, and tried to > configure namespaces on it with ndctl. > ndctl failed to create namespace when some namespace are created, and > destroyed. > > Does anyone can reproduce this

Re: [fstests PATCH 1/2] src/: fix up mmap() error checking

2018-06-22 Thread Ross Zwisler
On Fri, Jun 22, 2018 at 10:28:38AM +0800, Eryu Guan wrote: > On Wed, Jun 20, 2018 at 04:51:46PM -0600, Ross Zwisler wrote: > > I noticed that in some of my C tests in src/ I was incorrectly checking for > > mmap() failure by looking for NULL instead of MAP_FAILED. Fix those and > > clean up some

Re: [PATCH 2/2] ext4: handle layout changes to pinned DAX mappings

2018-06-22 Thread Jan Kara
On Wed 20-06-18 16:15:03, Ross Zwisler wrote: > diff --git a/fs/ext4/truncate.h b/fs/ext4/truncate.h > index 0cb13badf473..a3b78241e9f6 100644 > --- a/fs/ext4/truncate.h > +++ b/fs/ext4/truncate.h > @@ -12,6 +12,7 @@ > static inline void ext4_truncate_failed_write(struct inode *inode) > { >

Re: [PATCH 1/2] dax: dax_layout_busy_page() warn on !exceptional

2018-06-22 Thread Jan Kara
On Wed 20-06-18 16:15:02, Ross Zwisler wrote: > Inodes using DAX should only ever have exceptional entries in their page > caches. Make this clear by warning if the iteration in > dax_layout_busy_page() ever sees a non-exceptional entry, and by adding a > comment for the pagevec_release() call