[PATCH 0/9] fixes for memory allocator recursions into the filesystem

Christoph Hellwig hch at infradead.org
Sat Jul 18 17:14:52 CDT 2009


lockdep has recently start tracking if a lock is used in reclaim context
and if so warns if we do allocations without the NOFS flag inside it.

This patch series fixes the easy targers involving the i_lock by switching
various allocations to the NOFS variant, or in case of the growfs code
moving the allocation out of the lock.

We still have some more issues that involve the iolock, but I think we
can simply get rid of the iolock in the reclaim path, but I'll send that
our for a separate discussion.

Sage, this should fix the two reports you've sent a while ago.




More information about the xfs mailing list