diff options
author | Jan Kara <jack@suse.cz> | 2014-04-03 14:46:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 16:20:55 -0700 |
commit | 84d86f83f9d0e8431a3c9eae4c47e9d7ff49a411 (patch) | |
tree | f8708771a3316e70468d98691d14d1873ae69213 /fs/ecryptfs | |
parent | e3a767b60fd8a9f5e133f42f4970cff77ec43173 (diff) | |
download | op-kernel-dev-84d86f83f9d0e8431a3c9eae4c47e9d7ff49a411.zip op-kernel-dev-84d86f83f9d0e8431a3c9eae4c47e9d7ff49a411.tar.gz |
ocfs2: avoid blocking in ocfs2_mark_lockres_freeing() in downconvert thread
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@suse.cz>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions