[GIT PULL] dax fixes for 4.19-rc8

From: Williams, Dan J
Date: Sat Oct 13 2018 - 13:25:27 EST


Hi Greg, please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-4.19-rc8

...to receive (2) urgent dax fixes for 4.19-rc8. They have appeared in
a -next release.

However, note that commit d7782145e1ad (+ACI-filesystem-dax: Fix
dax+AF8-layout+AF8-busy+AF8-page() livelock+ACI-) is immediately replaced with the
Xarray conversion targeting 4.20, so d7782145e1ad is the backport
suitable fix for the livelock for v4.19 and earlier.

Please pull, thanks+ACE-

---

The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38:

Linux 4.19-rc6 (2018-09-30 07:15:35 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-4.19-rc8

for you to fetch changes up to 4628a64591e6cee181237060961e98c615c33966:

mm: Preserve +AF8-PAGE+AF8-DEVMAP across mprotect() calls (2018-10-09 11:44:58 -0700)

----------------------------------------------------------------
libnvdimm/dax 4.19-rc8

+ACo- Fix a livelock in dax+AF8-layout+AF8-busy+AF8-page() present since v4.18. The
lockup triggers when truncating an actively mapped huge page out of a
mapping pinned for direct-I/O.

+ACo- Fix mprotect() clobbers of +AF8-PAGE+AF8-DEVMAP. Broken since v4.5 mprotect()
clears this flag that is needed to communicate the liveness of device
pages to the get+AF8-user+AF8-pages() path.

----------------------------------------------------------------
Dan Williams (1):
filesystem-dax: Fix dax+AF8-layout+AF8-busy+AF8-page() livelock

Jan Kara (1):
mm: Preserve +AF8-PAGE+AF8-DEVMAP across mprotect() calls

arch/powerpc/include/asm/book3s/64/pgtable.h +AHw- 4 +-+---
arch/x86/include/asm/pgtable+AF8-types.h +AHw- 2 +--
fs/dax.c +AHw- 13 +-+-+-+-+-+-+-+-+-+-+---
3 files changed, 14 insertions(+-), 5 deletions(-)