Re: [lustre-devel] [PATCH 11/16] staging: lustre: make polling loop in ptlrpc_unregister_bulk more obvious

2017-12-18 Thread Patrick Farrell
This probably shouldn¹t contribute to load, it¹s often (mostly?) run out of the ptlrpcd daemons. - Patrick On 12/18/17, 1:18 AM, "lustre-devel on behalf of NeilBrown" wrote: >This use of l_wait_event() is a polling loop that

Re: [lustre-devel] [PATCH 11/16] staging: lustre: make polling loop in ptlrpc_unregister_bulk more obvious

2017-12-18 Thread Patrick Farrell
This probably shouldn¹t contribute to load, it¹s often (mostly?) run out of the ptlrpcd daemons. - Patrick On 12/18/17, 1:18 AM, "lustre-devel on behalf of NeilBrown" wrote: >This use of l_wait_event() is a polling loop that re-checks >every second. Make this more obvious with a while loop

[PATCH 11/16] staging: lustre: make polling loop in ptlrpc_unregister_bulk more obvious

2017-12-17 Thread NeilBrown
This use of l_wait_event() is a polling loop that re-checks every second. Make this more obvious with a while loop and wait_event_timeout(). Signed-off-by: NeilBrown --- drivers/staging/lustre/lustre/ptlrpc/niobuf.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[PATCH 11/16] staging: lustre: make polling loop in ptlrpc_unregister_bulk more obvious

2017-12-17 Thread NeilBrown
This use of l_wait_event() is a polling loop that re-checks every second. Make this more obvious with a while loop and wait_event_timeout(). Signed-off-by: NeilBrown --- drivers/staging/lustre/lustre/ptlrpc/niobuf.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff