Displaying 1 result from an estimated 1 matches for "trans_attach".
2013 Nov 06
0
[PATCH] Btrfs: fix lockdep error in async commit
...t;ffffffff817045a4>] tracesys+0xdd/0xe2
====================================================
It''s because that we don''t do the right thing when checking if it''s ok to
tell lockdep that we''re trying to release the rwsem.
If the trans handle''s type is TRANS_ATTACH, we won''t acquire the freeze rwsem, but
as TRANS_ATTACH fits the check (trans < TRANS_JOIN_NOLOCK), we''ll release the freeze
rwsem, which makes lockdep complains a lot.
Reported-by: Ma Jianpeng <majianpeng@gmail.com>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Sig...