diff options
author | Al Viro <[email protected]> | 2016-02-13 10:38:23 -0500 |
---|---|---|
committer | Mike Marshall <[email protected]> | 2016-02-19 13:45:53 -0500 |
commit | 98815ade9eaca3c4729710129a651aa0b43d007a (patch) | |
tree | 456464c4342123ba153ac0f7eae959d0b973592f /lib/netdev-notifier-error-inject.c | |
parent | d2d87a3b6df3088a991e277d42cd6a549ff2bc66 (diff) |
orangefs: sanitize handling of request list
* checking that daemon is running (to decide whether we want to limit
the timeout) should be done *after* the damn thing is included into
the list; doing that before means that if the daemon gets shut down
in between, we'll end up waiting indefinitely (== up to kill -9).
* cancels should go into the head of the queue - the sooner they
are picked, the less work daemon has to do and the sooner we get to
free the slot held by aborted operation.
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Mike Marshall <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions