dax: provide diagnostics for pmd mapping failures
authorDan Williams <dan.j.williams@intel.com>
Sat, 16 Jan 2016 00:56:58 +0000 (16:56 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Jan 2016 01:56:32 +0000 (17:56 -0800)
commitcbb38e41a931aaae5b2fef3b1c74d0d6f866b698
treea7c58d66c673740b1f072d3eed37779276ed2595
parent3565fce3a6597e91b8dee3e8e36ebf70f8b7ef9b
dax: provide diagnostics for pmd mapping failures

There is a wide gamut of conditions that can trigger the dax pmd path to
fallback to pte mappings.  Ideally we'd have a syscall interface to
determine mapping characteristics after the fact.  In the meantime
provide debug messages.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Suggested-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/dax.c