aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRaghava Aditya Renukunta <[email protected]>2016-02-03 15:06:00 -0800
committerMartin K. Petersen <[email protected]>2016-02-23 21:27:02 -0500
commit3f4ce057d51a9c0ed9b01ba693df685d230ffcae (patch)
treee4e80fb4a6929c94e99b47f2a2539b770b5dd8ce /tools/perf/scripts/python/export-to-postgresql.py
parent6bf3b630d0a733b74f7167a1cfac457358e67074 (diff)
aacraid: Fix RRQ overload
The driver utilizes an array of atomic variables to keep track of IO submissions to each vector. To submit an IO multiple threads iterate through the array to find a vector which has empty slots to send an IO. The reading and updating of the variable is not atomic, causing race conditions when a thread uses a full vector to submit an IO. Fixed by mapping each FIB to a vector, the submission path then uses said vector to submit IO thereby removing the possibly of a race condition.The vector assignment is started from 1 since vector 0 is reserved for the use of AIF management FIBS.If the number of MSIx vectors is 1 (MSI or INTx mode) then all the fibs are allocated to vector 0. Fixes: 495c0217 "aacraid: MSI-x support" Cc: [email protected] # v4.1 Signed-off-by: Raghava Aditya Renukunta <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Tomas Henzl <[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