Revision f52afc93cd018fe6910133a05d44671192d1aeb0 authored by Jan Kara on 27 September 2018, 11:23:32 UTC, committed by Dan Williams on 27 September 2018, 17:56:15 UTC
When dax_lock_mapping_entry() has to sleep to obtain entry lock, it will fail to unlock mapping->i_pages spinlock and thus immediately deadlock against itself when retrying to grab the entry lock again. Fix the problem by unlocking mapping->i_pages before retrying. Fixes: c2a7d2a11552 ("filesystem-dax: Introduce dax_lock_mapping_entry()") Reported-by: Barret Rhoden <brho@google.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 6bf4ca7
File | Mode | Size |
---|---|---|
i386 | ||
x86_64 | ||
00-INDEX | -rw-r--r-- | 637 bytes |
amd-memory-encryption.txt | -rw-r--r-- | 4.3 KB |
boot.txt | -rw-r--r-- | 38.7 KB |
earlyprintk.txt | -rw-r--r-- | 6.0 KB |
entry_64.txt | -rw-r--r-- | 4.1 KB |
exception-tables.txt | -rw-r--r-- | 13.0 KB |
intel_mpx.txt | -rw-r--r-- | 10.9 KB |
intel_rdt_ui.txt | -rw-r--r-- | 40.4 KB |
kernel-stacks | -rw-r--r-- | 6.1 KB |
microcode.txt | -rw-r--r-- | 3.9 KB |
mtrr.txt | -rw-r--r-- | 11.6 KB |
orc-unwinder.txt | -rw-r--r-- | 8.0 KB |
pat.txt | -rw-r--r-- | 11.1 KB |
protection-keys.txt | -rw-r--r-- | 3.3 KB |
pti.txt | -rw-r--r-- | 8.8 KB |
tlb.txt | -rw-r--r-- | 3.6 KB |
topology.txt | -rw-r--r-- | 6.7 KB |
usb-legacy-support.txt | -rw-r--r-- | 1.8 KB |
zero-page.txt | -rw-r--r-- | 1.8 KB |
Computing file changes ...