mbox series

[GIT,PULL] dax fixes for 4.19-rc8

Message ID 8f47e3ce3cbe6e165701dbf665bb1770ca13d907.camel@intel.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] dax fixes for 4.19-rc8 | expand

Pull-request

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

Message

Dan Williams Oct. 13, 2018, 5:25 p.m. UTC
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 ("filesystem-dax: Fix
dax_layout_busy_page() livelock") 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!

---

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 _PAGE_DEVMAP across mprotect() calls (2018-10-09 11:44:58 -0700)

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

* Fix a livelock in dax_layout_busy_page() present since v4.18. The
  lockup triggers when truncating an actively mapped huge page out of a
  mapping pinned for direct-I/O.

* Fix mprotect() clobbers of _PAGE_DEVMAP. Broken since v4.5 mprotect()
  clears this flag that is needed to communicate the liveness of device
  pages to the get_user_pages() path.

----------------------------------------------------------------
Dan Williams (1):
      filesystem-dax: Fix dax_layout_busy_page() livelock

Jan Kara (1):
      mm: Preserve _PAGE_DEVMAP across mprotect() calls

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

Comments

Greg KH Oct. 14, 2018, 6:55 a.m. UTC | #1
On Sat, Oct 13, 2018 at 05:25:21PM +0000, Williams, Dan J wrote:
> 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 ("filesystem-dax: Fix
> dax_layout_busy_page() livelock") 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!
> 
> ---
> 
> 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

Now merged, thanks.

greg k-h