aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2014-07-16 00:00:45 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-17 18:43:10 -0700
commit2ef82d24f445e82f80e235f44eb9d1bc933e3670 (patch)
tree5aaeeff3d2db582b8ea75f9a7652df0e0fc6c531 /drivers/scsi/mpt2sas/mpi/mpi2_init.h
parent1795cd9b3a91d4b5473c97f491d63892442212ab (diff)
Drivers: hv: hv_fcopy: fix a race condition for SMP guest
We should schedule the 5s "timer work" before starting the data transfer, otherwise, the data transfer code may finish so fast on another virtual cpu that when the code(fcopy_write()) trying to cancel the 5s "timer work" can occasionally fail because the "timer work" may haven't been scheduled yet and as a result the fcopy process will be aborted wrongly by fcopy_work_func() in 5s. Thank Liz Zhang <[email protected]> for the initial investigation on the bug. This addresses https://bugzilla.redhat.com/show_bug.cgi?id=1118123 Tested-by: Liz Zhang <[email protected]> Cc: Haiyang Zhang <[email protected]> Cc: [email protected] Signed-off-by: Dexuan Cui <[email protected]> Signed-off-by: K. Y. Srinivasan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions