All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Easwar Hariharan <eahariha@linux.microsoft.com>
Cc: stable@vger.kernel.org, Michael Kelley <mhklinux@outlook.com>,
	"Martin K . Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH 6.12.y] scsi: storvsc: Ratelimit warning logs to prevent VM denial of service
Date: Tue, 28 Jan 2025 18:30:40 +0100	[thread overview]
Message-ID: <2025012816-usher-discover-d252@gregkh> (raw)
In-Reply-To: <185173f5-5f46-4c24-b4fb-86dab478ea02@linux.microsoft.com>

On Tue, Jan 28, 2025 at 09:08:42AM -0800, Easwar Hariharan wrote:
> On 1/27/2025 9:35 PM, Greg KH wrote:
> > On Mon, Jan 27, 2025 at 06:29:54PM +0000, 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@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: Easwar Hariharan <eahariha@linux.microsoft.com>
> >> ---
> >>  drivers/scsi/storvsc_drv.c | 8 +++++++-
> >>  1 file changed, 7 insertions(+), 1 deletion(-)
> > 
> > What about 6.13.y?
> > 
> 
> Yes, needs a backport to that too, another miss on my part. :(
> 
> Would you rather I send it after rc1 is tagged, or now for completeness?

Whenever you have it, we can't apply any of these until -rc1 is out.

thanks,

greg k-h

  reply	other threads:[~2025-01-28 17:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-27 18:29 [PATCH 6.12.y] scsi: storvsc: Ratelimit warning logs to prevent VM denial of service Easwar Hariharan
2025-01-28  5:35 ` Greg KH
2025-01-28 17:08   ` Easwar Hariharan
2025-01-28 17:30     ` Greg KH [this message]
2025-01-28 16:17 ` Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2025012816-usher-discover-d252@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=eahariha@linux.microsoft.com \
    --cc=martin.petersen@oracle.com \
    --cc=mhklinux@outlook.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.