Re: [PATCH 18/20] dax: Make cache flushing protected by entry lock

2016-10-19 Thread Jan Kara
On Tue 18-10-16 13:20:13, Ross Zwisler wrote: > On Tue, Sep 27, 2016 at 06:08:22PM +0200, Jan Kara wrote: > > Currently, flushing of caches for DAX mappings was ignoring entry lock. > > So far this was ok (modulo a bug that a difference in entry lock could > > cause cache flushing to be mistakenly

[PATCH 18/20] dax: Make cache flushing protected by entry lock

2016-09-27 Thread Jan Kara
Currently, flushing of caches for DAX mappings was ignoring entry lock. So far this was ok (modulo a bug that a difference in entry lock could cause cache flushing to be mistakenly skipped) but in the following patches we will write-protect PTEs on cache flushing and clear dirty tags. For that we