[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120124194635.GD17291@redhat.com>
Date: Tue, 24 Jan 2012 14:46:35 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: Tejun Heo <tejun@...gle.com>
Cc: axboe@...nel.dk, ctalbott@...gle.com, rni@...gle.com,
linux-kernel@...r.kernel.org, Kay Sievers <kay.sievers@...y.org>
Subject: Re: [PATCH UPDATED 14/16] blkcg: don't allow or retain configuration
of missing devices
On Tue, Jan 24, 2012 at 11:30:58AM -0800, Tejun Heo wrote:
[..]
> +
> + /*
> + * If queue was bypassing, we should retry. Do so after a short
> + * msleep(). It isn't strictly necessary but queue can be
> + * bypassing for some time and it's always nice to avoid busy
> + * looping.
> + */
> + if (ret == -EBUSY) {
> + msleep(10);
> + return restart_syscall();
> + }
> return ret;
Thanks. This one looks better.
Vivek
--
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