Re: Deadlock possibly caused by too_many_isolated.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, October 18, 2010 - 2:58 pm

On Tue, 19 Oct 2010 00:15:04 +0800
Wu Fengguang <fengguang.wu@intel.com> wrote:


I'm not sure that this is really a full fix.  Torsten's analysis does
appear to point at the real bug: raid1 has code paths which allocate
more than a single element from a mempool without starting IO against
previous elements.

Giving these allocations the ability to dip further into reserves will
make occurrence of the bug less likely, but if enough threads all do
this at the same time, that reserve will be exhausted and we're back to
square one?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Deadlock possibly caused by too_many_isolated., Neil Brown, (Tue Sep 14, 4:11 pm)
Re: Deadlock possibly caused by too_many_isolated., Rik van Riel, (Tue Sep 14, 5:30 pm)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Tue Sep 14, 7:23 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Sep 14, 7:37 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Sep 14, 7:54 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Sep 14, 8:06 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Sep 14, 8:13 pm)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Tue Sep 14, 8:17 pm)
Re: Deadlock possibly caused by too_many_isolated., Shaohua Li, (Tue Sep 14, 8:18 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Sep 14, 8:31 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Sep 14, 8:47 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Wed Sep 15, 1:28 am)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Wed Sep 15, 1:44 am)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Sun Oct 17, 9:14 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Sun Oct 17, 10:04 pm)
Re: Deadlock possibly caused by too_many_isolated., Torsten Kaiser, (Mon Oct 18, 3:58 am)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Mon Oct 18, 9:15 am)
Re: Deadlock possibly caused by too_many_isolated., Andrew Morton, (Mon Oct 18, 2:58 pm)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Mon Oct 18, 3:31 pm)
Re: Deadlock possibly caused by too_many_isolated., Andrew Morton, (Mon Oct 18, 3:41 pm)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Mon Oct 18, 4:11 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Mon Oct 18, 5:57 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 6:15 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Mon Oct 18, 6:21 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 6:32 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Mon Oct 18, 7:03 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 7:16 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Mon Oct 18, 7:24 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Mon Oct 18, 7:35 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Mon Oct 18, 7:37 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 7:37 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 7:52 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Mon Oct 18, 7:54 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Mon Oct 18, 8:05 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 8:09 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Mon Oct 18, 8:13 pm)
Re: Deadlock possibly caused by too_many_isolated., Shaohua Li, (Mon Oct 18, 8:21 pm)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Mon Oct 18, 10:11 pm)
Re: Deadlock possibly caused by too_many_isolated., Shaohua Li, (Tue Oct 19, 12:15 am)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Tue Oct 19, 12:34 am)
Re: Deadlock possibly caused by too_many_isolated., Torsten Kaiser, (Tue Oct 19, 1:43 am)
Re: Deadlock possibly caused by too_many_isolated., Torsten Kaiser, (Tue Oct 19, 3:06 am)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Tue Oct 19, 10:57 pm)
Re: Deadlock possibly caused by too_many_isolated., KOSAKI Motohiro, (Wed Oct 20, 12:05 am)
Re: Deadlock possibly caused by too_many_isolated., Torsten Kaiser, (Wed Oct 20, 12:25 am)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Wed Oct 20, 2:01 am)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Wed Oct 20, 2:27 am)
Re: Deadlock possibly caused by too_many_isolated., Torsten Kaiser, (Wed Oct 20, 3:07 am)
Re: Deadlock possibly caused by too_many_isolated., Jens Axboe, (Wed Oct 20, 6:03 am)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Wed Oct 20, 7:23 am)
Re: Deadlock possibly caused by too_many_isolated., Torsten Kaiser, (Wed Oct 20, 8:35 am)
Re: Deadlock possibly caused by too_many_isolated., Minchan Kim, (Wed Oct 20, 4:31 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Thu Oct 21, 10:37 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Fri Oct 22, 1:07 am)
Re: Deadlock possibly caused by too_many_isolated., Jens Axboe, (Fri Oct 22, 1:09 am)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Sun Oct 24, 9:52 am)
Re: Deadlock possibly caused by too_many_isolated., Neil Brown, (Sun Oct 24, 11:40 pm)
Re: Deadlock possibly caused by too_many_isolated., Wu Fengguang, (Mon Oct 25, 12:26 am)