Re: [PATCH 4/6] btrfs: update stats when allocating from a cluster

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li Zefan
Date: Monday, August 23, 2010 - 5:50 pm

>>  	spin_unlock(&cluster->lock);

But they are 2 different locks. ;)

And we can't grab block_group->tree_lock when holding cluster->lock.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/6] btrfs: update stats when allocating from a ..., Li Zefan, (Mon Aug 23, 5:50 pm)