lkml.org 
[lkml]   [2011]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectmempool && io_schedule_timeout()
On 12/20, Tejun Heo wrote:
>
> - if (!pool->curr_nr) {
> - /*
> - * FIXME: this should be io_schedule(). The timeout is there
> - * as a workaround for some DM problems in 2.6.18.
> - */
> - io_schedule_timeout(5*HZ);
> - }
> - finish_wait(&pool->wait, &wait);
>
> + spin_unlock_irqrestore(&pool->lock, flags);
> +
> + /*
> + * FIXME: this should be io_schedule(). The timeout is there as a
> + * workaround for some DM problems in 2.6.18.
> + */
> + io_schedule_timeout(5*HZ);

Just curious... This was added by 0b1d647a in 2006.

Perhaps the problem was already fixed?

Oleg.



\
 
 \ /
  Last update: 2011-12-21 16:21    [from the cache]
©2003-2011 Jasper Spaans