commit | ceb21a8db48559fd0809e03c4df9eb37743d9170 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Aug 24 19:35:04 2018 +0200 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:44 2018 +0100 |
tree | 14d77fe9153ffebadcc3845a80de4fbb1e94c95d | |
parent | d1051d6ebf8ef3517a5a3cf82bba8436d190f1c2 [diff] |
btrfs: reada: reorder dev-replace locks before radix tree preload The device-replace read lock is going to use rw semaphore in followup commits. The semaphore might sleep which is not possible in the radix tree preload section. The lock nesting is now: * device replace * radix tree preload * readahead spinlock Signed-off-by: David Sterba <dsterba@suse.com>