On Mon, Apr 18, 2016 at 11:35:38PM +0200, Jan Kara wrote:
Currently we forbid page_cache_tree_insert() to replace exceptional
tree entries for DAX inodes. However to make DAX faults race free we will
lock radix tree entries and when hole is created, we need to replace
such locked radix tree entry with a hole page. So modify
page_cache_tree_insert() to allow that.
Signed-off-by: Jan Kara <jack(a)suse.cz>
Reviewed-by: Ross Zwisler <ross.zwisler(a)linux.intel.com>