Re: [PATCH UPDATED 14/16] blkcg: don't allow or retain configurationof missing devices

From: Vivek Goyal
Date: Tue Jan 24 2012 - 14:46:39 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/