diff options
| author | Andrea Parri (Microsoft) <[email protected]> | 2020-12-17 21:33:20 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-01-07 23:15:00 -0500 |
| commit | 244808e0302953de11dba1f8a580cdd1df35843d (patch) | |
| tree | c520ab208cbffbfeae0d8ac2fa6d7318add4e0e8 /tools/perf/scripts/python | |
| parent | ab548fd21e1cbe601ce5f775254a6d042c6495f2 (diff) | |
scsi: storvsc: Resolve data race in storvsc_probe()
vmscsi_size_delta can be written concurrently by multiple instances of
storvsc_probe(), corresponding to multiple synthetic IDE/SCSI devices;
cf. storvsc_drv's probe_type == PROBE_PREFER_ASYNCHRONOUS. Change the
global variable vmscsi_size_delta to per-synthetic-IDE/SCSI-device.
Link: https://lore.kernel.org/r/[email protected]
Cc: "James E.J. Bottomley" <[email protected]>
Cc: "Martin K. Petersen" <[email protected]>
Cc: [email protected]
Suggested-by: Dexuan Cui <[email protected]>
Reviewed-by: Dexuan Cui <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Signed-off-by: Andrea Parri (Microsoft) <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions