aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndreas Dilger <[email protected]>2014-04-27 13:06:33 -0400
committerGreg Kroah-Hartman <[email protected]>2014-04-27 10:21:38 -0700
commit88291a7a6b3beb8a471cf347c4f36c85f9fc59e5 (patch)
tree00fb89e86cc3277a44e580c9bdba9e5c01ae91e9 /tools/perf/scripts/python
parent34554afc055a381b6a963ce6cb4542c95ac5a875 (diff)
staging/lustre/ptlrpc: don't try to recover no_recov connection
If a connection has been stopped with ptlrpc_pinger_del_import() and marked obd_no_recov, don't reconnect in ptlrpc_disconnect_import() if the import is already disconnected. Otherwise, without the pinger it will just wait there indefinitely for the reconnection that will never happen. Put the obd_no_recov check inside ptlrpc_import_in_recovery() so that any threads waiting on the connection to recover would also be broken out of their sleep if obd_no_recov is set. Signed-off-by: Andreas Dilger <[email protected]> Reviewed-on: http://review.whamcloud.com/8996 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4413 Reviewed-by: Nathaniel Clark <[email protected]> Reviewed-by: wangdi <[email protected]> Signed-off-by: Oleg Drokin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions