commit | 3ba316037470bbf98c8a16c2179c02794fb8862e | [log] [tgz] |
---|---|---|
author | Peter Watkins <treestem@gmail.com> | Mon May 07 16:11:37 2012 -0400 |
committer | Ben Myers <bpm@sgi.com> | Mon May 21 10:45:44 2012 -0500 |
tree | cd9a68a6f7ecefc76e7e66e21fd936a60a1e2b6f | |
parent | ea562ed6e7df5acd9392d993882c39e855099165 [diff] |
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: Peter Watkins <treestem@gmail.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>