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 |
---|---|---|
platform | ||
acbuffer.h | -rw-r--r-- | 8.6 KB |
acconfig.h | -rw-r--r-- | 7.0 KB |
acexcep.h | -rw-r--r-- | 16.5 KB |
acnames.h | -rw-r--r-- | 2.1 KB |
acoutput.h | -rw-r--r-- | 16.1 KB |
acpi.h | -rw-r--r-- | 1.3 KB |
acpi_bus.h | -rw-r--r-- | 19.1 KB |
acpi_drivers.h | -rw-r--r-- | 4.1 KB |
acpi_io.h | -rw-r--r-- | 713 bytes |
acpi_lpat.h | -rw-r--r-- | 1.5 KB |
acpi_numa.h | -rw-r--r-- | 623 bytes |
acpiosxf.h | -rw-r--r-- | 11.3 KB |
acpixf.h | -rw-r--r-- | 30.4 KB |
acrestyp.h | -rw-r--r-- | 18.8 KB |
actbl.h | -rw-r--r-- | 18.3 KB |
actbl1.h | -rw-r--r-- | 40.3 KB |
actbl2.h | -rw-r--r-- | 45.3 KB |
actbl3.h | -rw-r--r-- | 20.0 KB |
actypes.h | -rw-r--r-- | 40.7 KB |
acuuid.h | -rw-r--r-- | 2.4 KB |
apei.h | -rw-r--r-- | 1.3 KB |
battery.h | -rw-r--r-- | 561 bytes |
button.h | -rw-r--r-- | 621 bytes |
cppc_acpi.h | -rw-r--r-- | 3.1 KB |
ghes.h | -rw-r--r-- | 2.9 KB |
hed.h | -rw-r--r-- | 371 bytes |
nfit.h | -rw-r--r-- | 351 bytes |
pcc.h | -rw-r--r-- | 816 bytes |
pdc_intel.h | -rw-r--r-- | 1.0 KB |
processor.h | -rw-r--r-- | 11.0 KB |
reboot.h | -rw-r--r-- | 201 bytes |
video.h | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...