Skip to content

Revert locking changes in DAX for v4.3

Ross Zwisler linux-fsdevel linux-mm linux-nvdimm lkml nvdimm 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v33 patches 0 repliesSuperseded
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches3 repliesSuperseded

Changes in v4 from the cover letter

- reduced the revert of 46c043ede471 in patch 1 so that we still drop the mapping->i_mmap_rwsem before calling unmap_mapping_range(). This prevents the deadlock in the __dax_pmd_fault() path so there is no longer a need to temporarily disable DAX PMD faults.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX"fs/dax.c mm/memory.c+22 -262 replies
2/2Revert "dax: fix race between simultaneous faults"fs/dax.c mm/memory.c+19 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] Revert locking changes in DAX for v4.3

This series reverts some recent changes to the locking scheme in DAX introduced by these two commits:

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

Changes from v3:
- reduced the revert of 46c043ede471 in patch 1 so that we still drop the mapping->i_mmap_rwsem before calling unmap_mapping_range(). This prevents the deadlock in the __dax_pmd_fault() path so there is no longer a need to temporarily disable DAX PMD faults.

Ross Zwisler (2):
Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX" Revert "dax: fix race between simultaneous faults"

 fs/dax.c    | 70 +++++++++++++++++++++++++------------------------------------
 mm/memory.c |  2 ++
 2 files changed, 31 insertions(+), 41 deletions(-)
Signature · 7 lines
2.1.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>