Re: [PATCH] fs/dax: Fix run_dax() missing prototype

2022-03-10 Thread Ira Weiny
On Wed, Mar 09, 2022 at 09:08:36PM -0800, Dan Williams wrote: > On Fri, Mar 4, 2022 at 12:38 PM wrote: > > > > From: Ira Weiny > > > > The function run_dax() was missing a prototype when compiling with > > warnings. > > > > Add bus.h to fix this. > > > > Always include the warning and the compil

Re: [PATCH v4 2/6] dax: fix cache flush on PMD-mapped pages

2022-03-10 Thread Muchun Song
On Thu, Mar 10, 2022 at 8:06 AM Dan Williams wrote: > > On Wed, Mar 2, 2022 at 12:29 AM Muchun Song wrote: > > > > The flush_cache_page() only remove a PAGE_SIZE sized range from the cache. > > However, it does not cover the full pages in a THP except a head page. > > Replace it with flush_cache_

Re: [PATCH v11 0/8] fsdax: introduce fs query to support reflink

2022-03-10 Thread Shiyang Ruan
ping ;) 在 2022/2/27 20:07, Shiyang Ruan 写道: This patchset is aimed to support shared pages tracking for fsdax. Changes since V10: - Use cmpxchg() to prevent concurrent registration/unregistration - Use phys_addr_t for ->memory_failure() - Add dax_entry_lock() for dax_lock_mapping_entr