]> Git Repo - linux.git/commit
mm, dax: fix DAX deadlocks
authorRoss Zwisler <[email protected]>
Thu, 15 Oct 2015 22:28:32 +0000 (15:28 -0700)
committerLinus Torvalds <[email protected]>
Fri, 16 Oct 2015 18:42:28 +0000 (11:42 -0700)
commit0f90cc6609c72b0bdf2aad0cb0456194dd896e19
tree1e9c2d12331cdc92576d46cd1f6d681323c4080b
parent424cdc14138088ada1b0e407a2195b2783c6e5ef
mm, dax: fix DAX deadlocks

The following two locking commits in the DAX code:

commit 843172978bb9 ("dax: fix race between simultaneous faults")
commit 46c043ede471 ("mm: take i_mmap_lock in unmap_mapping_range() for DAX")

introduced a number of deadlocks and other issues which need to be fixed
for the v4.3 kernel.  The list of issues in DAX after these commits
(some newly introduced by the commits, some preexisting) can be found
here:

  https://lkml.org/lkml/2015/9/25/602 (Subject: "Re: [PATCH] dax: fix deadlock in __dax_fault").

This undoes most of the changes introduced by those two commits,
essentially returning us to the DAX locking scheme that was used in
v4.2.

Signed-off-by: Ross Zwisler <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Dan Williams <[email protected]>
Tested-by: Dave Chinner <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/dax.c
mm/memory.c
This page took 0.053791 seconds and 4 git commands to generate.