summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2021-06-04 10:21:03 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-15 22:21:44 -0400
commit52e1b3b3daa9d53f0204bf474ee1d4b1beb38234 (patch)
treeb1a10e63148ac46d456217032c7ffbdae704d9a9 /tools/perf/scripts/python/export-to-postgresql.py
parent08f76547f08d94f079c13c8031c46a69cd01edd6 (diff)
scsi: storvsc: Correctly handle multiple flags in srb_status
Hyper-V is observed to sometimes set multiple flags in the srb_status, such as ABORTED and ERROR. Current code in storvsc_handle_error() handles only a single flag being set, and does nothing when multiple flags are set. Fix this by changing the case statement into a series of "if" statements testing individual flags. The functionality for handling each flag is unchanged. Link: https://lore.kernel.org/r/1622827263-12516-3-git-send-email-mikelley@microsoft.com Signed-off-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions