lkml.org 
[lkml]   [2012]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-01-24 20:49    [W:0.124 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site