[PATCH 5/5] xfs: fix memory reclaim recursion deadlock on locked inode buffer

Christoph Hellwig hch at infradead.org
Fri Jul 16 00:22:27 CDT 2010


On Thu, Jul 15, 2010 at 10:38:20AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> Calling into memory reclaim with a locked inode buffer can deadlock
> if memory reclaim tries to lock the inode buffer during inode
> teardown. Convert the relevant memory allocations to use KM_NOFS to
> avoid this deadlock condition.

Looks good, although the same style nitpicks as for patch 3 apply.

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the xfs mailing list