mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
scoutfs: move unblock_lock trace under lock
It samples fields that are only consistent under the lock. We also want to see the fields every time it rechecks the conditions that stop it from downconverting. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -2398,11 +2398,12 @@ static int ocfs2_unblock_lock(struct ocfs2_super *osb,
|
||||
int set_lvb = 0;
|
||||
unsigned int gen;
|
||||
|
||||
trace_ocfs2_unblock_lock(osb, lockres);
|
||||
|
||||
spin_lock_irqsave(&lockres->l_lock, flags);
|
||||
|
||||
recheck:
|
||||
trace_ocfs2_unblock_lock(osb, lockres);
|
||||
|
||||
/*
|
||||
* Is it still blocking? If not, we have no more work to do.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user