Re: [PATCH 1/1] scsi: storvsc: Fix ring buffer size calculation

From: Martin K. Petersen
Date: Tue Jan 23 2024 - 22:02:30 EST


On Mon, 22 Jan 2024 09:09:56 -0800, mhkelley58@xxxxxxxxx wrote:

> Current code uses the specified ring buffer size (either the default of
> 128 Kbytes or a module parameter specified value) to encompass the one page
> ring buffer header plus the actual ring itself. When the page size is
> 4K, carving off one page for the header isn't significant. But when the
> page size is 64K on ARM64, only half of the default 128 Kbytes is left
> for the actual ring. While this doesn't break anything, the smaller
> ring size could be a performance bottleneck.
>
> [...]

Applied to 6.8/scsi-fixes, thanks!

[1/1] scsi: storvsc: Fix ring buffer size calculation
https://git.kernel.org/mkp/scsi/c/f4469f385835

--
Martin K. Petersen Oracle Linux Engineering