[Ocfs2-devel] [PATCH 5/6] ocfs2: Avoid blocking in ocfs2_mark_lockres_freeing() in downconvert thread

Srinivas Eeda srinivas.eeda at oracle.com
Tue Feb 25 12:03:43 PST 2014


On 02/25/2014 11:12 AM, Mark Fasheh wrote:
> On Fri, Feb 21, 2014 at 10:45:03AM +0100, Jan Kara wrote:
>> If we are dropping last inode reference from downconvert thread, we will
>> end up calling ocfs2_mark_lockres_freeing() which can block if the lock
>> we are freeing is queued thus creating an A-A deadlock. Luckily, since
>> we are the downconvert thread, we can immediately dequeue the lock and
>> thus avoid waiting in this case.
>>
>> Signed-off-by: Jan Kara <jack at suse.cz>
> Latest version of this looks good, thanks Jan!
>
> Reviewed-by: Mark Fasheh <mfasheh at suse.de>
> 	--Mark
I didn't sent my reviewed by as akpm already queued this patch. But yes 
the new version looks good to me.

Reviewed-by: Srinivas Eeda<srinivas.eeda at oracle.com>

> --
> Mark Fasheh




More information about the Ocfs2-devel mailing list