Messages in this thread | | | From | Dexuan Cui <> | Subject | RE: [PATCH 2/3] scsi: storvsc: Resolve data race in storvsc_probe() | Date | Thu, 17 Dec 2020 21:31:27 +0000 |
| |
> From: Andrea Parri (Microsoft) <parri.andrea@gmail.com> > Sent: Thursday, December 17, 2020 12:33 PM > > 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. > > Suggested-by: Dexuan Cui <decui@microsoft.com> > Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com> > Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> > Cc: "Martin K. Petersen" <martin.petersen@oracle.com> > Cc: linux-scsi@vger.kernel.org
Reviewed-by: Dexuan Cui <decui@microsoft.com>
| |