aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorchenxiang <[email protected]>2017-09-06 17:15:14 +0800
committerMartin K. Petersen <[email protected]>2017-09-15 21:38:30 -0400
commit7f6ab5693f66e5a638925f28e17ea7576fc69f2f (patch)
treef1fcf4c097830a9a616ae3f1730a03054cc9fec7 /tools/perf/scripts/python/export-to-postgresql.py
parent5956d8e6bdfc08f5609f59aa00015acbc4ce1bdf (diff)
scsi: libsas: add event to defer list tail instead of head when draining
Events will be added to defer_q list when setting ha->status to SAS_HA_DRAINING. Events will be called after drain workqueue. Those events are added to the head of list, but they are scanned one by one from the head to the tail, which will cause those events be called in the reverse order of being added. So change list_add to list_add_tail in function sas_queue_work. Signed-off-by: chenxiang <[email protected]> Signed-off-by: Jason Yan <[email protected]> CC: John Garry <[email protected]> CC: Johannes Thumshirn <[email protected]> CC: Ewan Milne <[email protected]> CC: Christoph Hellwig <[email protected]> CC: Tomas Henzl <[email protected]> CC: Dan Williams <[email protected]> Reviewed-by: Christoph Hellwig <[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