Ok, Johan sent along stack traces, and the deadlock works a little like this:
linux-2.4.16 + reiserfs + quota v2
mark_inode_dirty->journal_begin-> wait for trans to end
Some process in the transaction is waiting on kswapd to free ram.
So, this will hit any journaled FS that uses quotas and logs inodes under
during a write. ext3 doesn't seem to do special things for quota anymore, so
it should be affected too.
The only fix I see is to make sure kswapd doesn't run shrink_icache, and to
have it done via a dedicated daemon instead. Does anyone have a better idea?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:28 EST