On Tue, Dec 21, 2010 at 06:28:58PM +1100, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > When listing attributes, we are doiing memory allocations under the > inode ilock using only KM_SLEEP. This allows memory allocation to > recurse back into the filesystem and do writeback, which may the > ilock we already hold on the current inode. THis will deadlock. > Hence use KM_NOFS for such allocations outside of transaction > context to ensure that reclaim recursion does not occur. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs