lkml.org 
[lkml]   [2001]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Lockups with 2.4.14 and 2.4.16

Ok, Johan sent along stack traces, and the deadlock works a little like this:

linux-2.4.16 + reiserfs + quota v2

kswapd ->
prune_icache->dispose_list->dquot_drop->commit_dquot->generic_file_write->
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?

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.134 / U:2.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site