Re: [PATCH 6.6.y] scsi: storvsc: Ratelimit warning logs to prevent VM denial of service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 27, 2025 at 11:25:17AM -0800, Easwar Hariharan wrote:
> On 1/27/2025 10:29 AM, Easwar Hariharan wrote:
> > 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@xxxxxxxxxxxxxxxxxxx>
> > Link: https://lore.kernel.org/r/20250107-eahariha-ratelimit-storvsc-v1-1-7fc193d1f2b0@xxxxxxxxxxxxxxxxxxx
> > Reviewed-by: Michael Kelley <mhklinux@xxxxxxxxxxx>
> > Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
> > Signed-off-by: Easwar Hariharan <eahariha@xxxxxxxxxxxxxxxxxxx>
> > ---
> >  drivers/scsi/storvsc_drv.c | 8 +++++++-
> >  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> 
> I just remembered that we should wait for Linus to tag the rc before
> sending backports, so apologies for sending this (and its 6.1 and 6.12
> friends) out before rc1 was tagged.

Why was this not tagged for stable in the first place?

thanks,

greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux