Skip to content
Commit 3ba31603 authored by Peter Watkins's avatar Peter Watkins Committed by Ben Myers
Browse files

xfs: fix memory reclaim deadlock on agi buffer



Note xfs_iget can be called while holding a locked agi buffer. If
it goes into memory reclaim then inode teardown may try to lock the
same buffer. Prevent the deadlock by calling radix_tree_preload
with GFP_NOFS.

Signed-off-by: default avatarPeter Watkins <treestem@gmail.com>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent ea562ed6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment