Btrfs: do not hold the write_lock on the extent tree while logging