[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111221151236.GA27571@redhat.com>
Date: Wed, 21 Dec 2011 16:12:36 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Tejun Heo <tj@...nel.org>, Pavel Mironchik <tibor0@...il.com>,
Alasdair G Kergon <agk@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: mempool && 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists