]> git.karo-electronics.de Git - linux-beck.git/commit
mm: move handling of COW faults into DAX code
authorJan Kara <jack@suse.cz>
Wed, 14 Dec 2016 23:07:24 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Dec 2016 00:04:09 +0000 (16:04 -0800)
commitb1aa812b21084285e9f6098639be9cd5bf9e05d7
tree4ae7e8f05e0d88f4a22bdd32b1b23722a779d4bc
parent9118c0cbd44262d0015568266f314e645ed6b9ce
mm: move handling of COW faults into DAX code

Move final handling of COW faults from generic code into DAX fault
handler.  That way generic code doesn't have to be aware of
peculiarities of DAX locking so remove that knowledge and make locking
functions private to fs/dax.c.

Link: http://lkml.kernel.org/r/1479460644-25076-11-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dax.c
include/linux/dax.h
include/linux/mm.h
mm/memory.c