[PATCH 05/19] staging: lustre: use wait_event_idle_timeout() where appropriate.

2018-02-12 Thread NeilBrown
When the lwi arg has a timeout, but no timeout callback function, l_wait_event() acts much the same as wait_event_idle_timeout() - the wait is not interruptible and simply waits for the event or the timeouts. The most noticable difference is that the return value is -ETIMEDOUT or 0, rather than 0

[PATCH 05/19] staging: lustre: use wait_event_idle_timeout() where appropriate.

2018-02-12 Thread NeilBrown
When the lwi arg has a timeout, but no timeout callback function, l_wait_event() acts much the same as wait_event_idle_timeout() - the wait is not interruptible and simply waits for the event or the timeouts. The most noticable difference is that the return value is -ETIMEDOUT or 0, rather than 0

Re: [PATCH 05/19] staging: lustre: use wait_event_idle_timeout() where appropriate.

2018-01-17 Thread James Simmons
> When the lwi arg has a timeout, but no timeout > callback function, l_wait_event() acts much the same as > wait_event_idle_timeout() - the wait is not interruptible and > simply waits for the event or the timeouts. > > The most noticable difference is that the return value is > -ETIMEDOUT or

Re: [PATCH 05/19] staging: lustre: use wait_event_idle_timeout() where appropriate.

2018-01-17 Thread James Simmons
> When the lwi arg has a timeout, but no timeout > callback function, l_wait_event() acts much the same as > wait_event_idle_timeout() - the wait is not interruptible and > simply waits for the event or the timeouts. > > The most noticable difference is that the return value is > -ETIMEDOUT or

[PATCH 05/19] staging: lustre: use wait_event_idle_timeout() where appropriate.

2018-01-07 Thread NeilBrown
When the lwi arg has a timeout, but no timeout callback function, l_wait_event() acts much the same as wait_event_idle_timeout() - the wait is not interruptible and simply waits for the event or the timeouts. The most noticable difference is that the return value is -ETIMEDOUT or 0, rather than 0

[PATCH 05/19] staging: lustre: use wait_event_idle_timeout() where appropriate.

2018-01-07 Thread NeilBrown
When the lwi arg has a timeout, but no timeout callback function, l_wait_event() acts much the same as wait_event_idle_timeout() - the wait is not interruptible and simply waits for the event or the timeouts. The most noticable difference is that the return value is -ETIMEDOUT or 0, rather than 0