Skip to content
Commit ceb21a8d authored by David Sterba's avatar David Sterba
Browse files

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: default avatarDavid Sterba <dsterba@suse.com>
parent d1051d6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment