Messages in this thread | | | Date | Fri, 14 Dec 2001 11:49:28 -0500 | From | Chris Mason <> | Subject | Re: 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/
| |