diff options
author | Easwar Hariharan <eahariha@linux.microsoft.com> | 2025-01-07 20:28:40 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-01-11 00:23:28 +0300 |
commit | d2138eab8cde61e0e6f62d0713e45202e8457d6d (patch) | |
tree | bbbe1a93fb265e5eb006bca36b27b125f9a88b32 /scripts/gdb/linux/lists.py | |
parent | 37d061e1ace17a376eda34b10dde28b144296534 (diff) | |
download | linux-d2138eab8cde61e0e6f62d0713e45202e8457d6d.tar.xz |
scsi: storvsc: Ratelimit warning logs to prevent VM denial of service
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>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions