aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2019-03-12 16:30:15 -0700
committerMartin K. Petersen <[email protected]>2019-03-19 12:57:02 -0400
commite2ffe4d5dc3f45a8bb9e96790583530dfae7b8af (patch)
tree7b63cae8d74982b2faf5843a06fbb4a45d2043d7 /tools/perf/scripts/python/export-to-postgresql.py
parent4645f7b56a9fc3fb16605a1bfa10d884fcd5226c (diff)
scsi: lpfc: Convert bootstrap mbx polling from msleep to udelay
Current code is using msleep when polling for hw ready. Unfortunately the msleep routine isn't very accurate on rescheduling. In fact, on a busy systems which reset the adapter, it became 10s of seconds before it was rescheduled. Fix by busy waiting using udelay. As we're now busy waiting, significantly reduce the wait time so that we can exit the pool loop as soon as possible. Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: James Smart <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions