diff options
| author | Easwar Hariharan <eahariha@linux.microsoft.com> | 2025-01-07 17:28:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-01 18:39:38 +0100 |
| commit | 01d1ebdab9ccb73c952e1666a8a80abd194dbc55 (patch) | |
| tree | 08eb33090441f4837bc937f0126c9d45beaf98ea /tools/perf/scripts/python/stackcollapse.py | |
| parent | a20fcaa230f7472456d12cf761ed13938e320ac3 (diff) | |
| download | kernel-01d1ebdab9ccb73c952e1666a8a80abd194dbc55.tar.gz | |
scsi: storvsc: Ratelimit warning logs to prevent VM denial of service
commit d2138eab8cde61e0e6f62d0713e45202e8457d6d upstream.
If there's a persistent error in the hypervisor, the SCSI warning for
failed I/O can flood the kernel log and max out CPU utilization,
preventing troubleshooting from the VM side. Ratelimit the warning so
it doesn't DoS the VM.
Closes: https://github.com/microsoft/WSL/issues/9173
Signed-off-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250107-eahariha-ratelimit-storvsc-v1-1-7fc193d1f2b0@linux.microsoft.com
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
