public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] fixes for memory allocator recursions into the filesystem
@ 2009-07-18 22:14 Christoph Hellwig
  2009-07-18 22:14 ` [PATCH 1/9] xfs: avoid memory allocation under m_peraglock in growfs code Christoph Hellwig
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Christoph Hellwig @ 2009-07-18 22:14 UTC (permalink / raw)
  To: xfs; +Cc: sage

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.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-07-30 19:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-18 22:14 [PATCH 0/9] fixes for memory allocator recursions into the filesystem Christoph Hellwig
2009-07-18 22:14 ` [PATCH 1/9] xfs: avoid memory allocation under m_peraglock in growfs code Christoph Hellwig
2009-07-27  1:48   ` Felix Blyakher
2009-07-18 22:14 ` [PATCH 2/9] xfs: switch to NOFS allocation under i_lock in xfs_getbmap Christoph Hellwig
2009-07-18 22:14 ` [PATCH 3/9] xfs: switch to NOFS allocation under i_lock in xfs_da_state_alloc Christoph Hellwig
2009-07-18 22:14 ` [PATCH 4/9] xfs: switch to NOFS allocation under i_lock in xfs_da_buf_make Christoph Hellwig
2009-07-18 22:14 ` [PATCH 5/9] xfs: switch to NOFS allocation under i_lock in xfs_dir_cilookup_result Christoph Hellwig
2009-07-18 22:14 ` [PATCH 6/9] xfs: switch to NOFS allocation under i_lock in xfs_buf_associate_memory Christoph Hellwig
2009-07-18 22:14 ` [PATCH 7/9] xfs: switch to NOFS allocation under i_lock in xfs_attr_rmtval_set Christoph Hellwig
2009-07-18 22:15 ` [PATCH 8/9] xfs: switch to NOFS allocation under i_lock in xfs_readlink_bmap Christoph Hellwig
2009-07-18 22:15 ` [PATCH 9/9] xfs: switch to NOFS allocation under i_lock in xfs_attr_rmtval_get Christoph Hellwig
2009-07-30 18:56 ` [PATCH 0/9] fixes for memory allocator recursions into the filesystem Sage Weil
2009-07-30 19:03   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox