aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKevin Barnett <kevin.barnett@microchip.com>2022-07-08 13:47:41 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2022-07-13 23:42:04 -0400
commit6ce3cfb365ebb2b93ee547318c6a108e62c740a1 (patch)
treecaa33633e07e5377baa8174e1581c6add9669988 /tools/perf/scripts/python/export-to-sqlite.py
parent69695aeaa6621bc49cdd7a8e5a8d1042461e496e (diff)
downloadlinux-6ce3cfb365ebb2b93ee547318c6a108e62c740a1.tar.gz
linux-6ce3cfb365ebb2b93ee547318c6a108e62c740a1.tar.bz2
linux-6ce3cfb365ebb2b93ee547318c6a108e62c740a1.zip
scsi: smartpqi: Fix RAID map race condition
Correct a rare stale RAID map access when performing AIO during a RAID configuration change. A race condition in the driver could cause it to access a stale RAID map when a logical volume is reconfigured. Modify the driver logic to invalidate a RAID map very early when a RAID configuration change is detected and only switch to a new RAID map after the driver detects that the RAID map has changed. Link: https://lore.kernel.org/r/165730606128.177165.7671413443814750829.stgit@brunhilda Reviewed-by: Scott Benesh <scott.benesh@microchip.com> Reviewed-by: Scott Teel <scott.teel@microchip.com> Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com> Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com> Signed-off-by: Don Brace <don.brace@microchip.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions