diff options
author | Andrea Parri (Microsoft) <[email protected]> | 2020-04-06 02:15:14 +0200 |
---|---|---|
committer | Wei Liu <[email protected]> | 2020-05-20 09:13:19 +0000 |
commit | 7769e18c201aa88eade5556faf9da7f2bc15bb8a (patch) | |
tree | c851e261d39bc420dd9d6e7920ccefe02c68e2c4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7527810573436f00e582d3d5ef2eb3c027c98d7d (diff) |
scsi: storvsc: Re-init stor_chns when a channel interrupt is re-assigned
For each storvsc_device, storvsc keeps track of the channel target CPUs
associated to the device (alloced_cpus) and it uses this information to
fill a "cache" (stor_chns) mapping CPU->channel according to a certain
heuristic. Update the alloced_cpus mask and the stor_chns array when a
channel of the storvsc device is re-assigned to a different CPU.
Signed-off-by: Andrea Parri (Microsoft) <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by; Long Li <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
[ wei: fix a small issue reported by kbuild test robot <[email protected]> ]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions