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 |
---|---|---|
asymmetric-parser.h | -rw-r--r-- | 1.2 KB |
asymmetric-subtype.h | -rw-r--r-- | 1.6 KB |
asymmetric-type.h | -rw-r--r-- | 2.9 KB |
big_key-type.h | -rw-r--r-- | 950 bytes |
ceph-type.h | -rw-r--r-- | 162 bytes |
dns_resolver-type.h | -rw-r--r-- | 689 bytes |
encrypted-type.h | -rw-r--r-- | 1.2 KB |
keyring-type.h | -rw-r--r-- | 544 bytes |
rxrpc-type.h | -rw-r--r-- | 4.4 KB |
system_keyring.h | -rw-r--r-- | 1.7 KB |
trusted-type.h | -rw-r--r-- | 1.2 KB |
user-type.h | -rw-r--r-- | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...