Re: [PATCH v9 0/3] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind

2022-09-29 Thread Shiyang Ruan
Hi, Ping 在 2022/9/25 21:33, Shiyang Ruan 写道: Changes since v8: 1. P2: rename drop_pagecache_sb() to super_drop_pagecache(). 2. P2: let super_drop_pagecache() accept invalidate method. 3. P3: invalidate all dax mappings by invalidate_inode_pages2(). 4. P3: shutdown the filesystem

RE: [PATCH] dax: Remove usage of the deprecated ida_simple_xxx API

2022-09-29 Thread Dan Williams
Bo Liu wrote: > Use ida_alloc_xxx()/ida_free() instead of > ida_simple_get()/ida_simple_remove(). > The latter is deprecated and more verbose. The better justification is: ida_alloc_max() makes it clear that the second argument is inclusive, and the alloc/free terminology is more idiomatic and

Re: [PATCH v2] libnvdimm/region: Allow setting align attribute on regions without mappings

2022-09-29 Thread Dan Williams
Tyler Hicks wrote: > On 2022-09-26 16:18:18, Jeff Moyer wrote: > > Tyler Hicks writes: > > > > > The alignment constraint for namespace creation in a region was > > > increased, from 2M to 16M, for non-PowerPC architectures in v5.7 with > > > commit 2522afb86a8c ("libnvdimm/region: Introduce an

Re: [RFC PATCH] xfs: drop experimental warning for fsdax

2022-09-29 Thread Darrick J. Wong
On Wed, Sep 28, 2022 at 10:46:17PM +0800, Shiyang Ruan wrote: > > > 在 2022/9/28 7:51, Dave Chinner 写道: > > On Tue, Sep 27, 2022 at 09:02:48AM -0700, Darrick J. Wong wrote: > > > On Tue, Sep 27, 2022 at 02:53:14PM +0800, Shiyang Ruan wrote: > ... > > > > > > > > I have tested these two mode for

[PATCH] drivers/nvdimm/e820: turn off write cache by default

2022-09-29 Thread Roman Kagan
When regular DRAM is registered for use as PMEM via "memmap" command line parameter, there's no write cache in front of the backing store of this PMEM (as there's no backing store itself), so there's no point doing expensive cache flush on sync etc. Mark the regions being registered with e820 as