]> git.baikalelectronics.ru Git - kernel.git/commit
dax: update PMD fault handler with PMEM API
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Wed, 9 Sep 2015 16:29:40 +0000 (10:29 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Sep 2015 16:47:57 +0000 (09:47 -0700)
commit336c449cfa2f3c7b699c0a0c447dec60b7593a97
tree0d78eb591d71929df4ba28b302227c32ef525131
parent694bab1814e35159d358cc03a63b653ca15641bc
dax: update PMD fault handler with PMEM API

As part of the v4.3 merge window the DAX code was updated by Matthew and
Kirill to handle PMD pages.  Also as part of the v4.3 merge window we
updated the DAX code to do proper PMEM flushing (commit c22506abe133:
"dax: update I/O path to do proper PMEM flushing").

The additional code added by the DAX PMD patches also needs to be
updated to properly use the PMEM API.  This ensures that after a PMD
fault is handled the zeros written to the newly allocated pages are
durable on the DIMMs.

linux/dax.h is included to get rid of a bunch of sparse warnings.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <willy@linux.intel.com>,
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Kirill Shutemov <kirill@shutemov.name>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dax.c