[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aHX0c0VsCIwR27K7@liuwe-devbox-ubuntu-v2.lamzopl0uupeniq2etz1fddiyg.xx.internal.cloudapp.net>
Date: Tue, 15 Jul 2025 06:25:55 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Long Li <longli@...rosoft.com>
Cc: Naman Jain <namjain@...ux.microsoft.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
Michael Kelley <mhklinux@...look.com>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Olaf Hering <olaf@...fle.de>,
Saurabh Sengar <ssengar@...ux.microsoft.com>
Subject: Re: [PATCH v4] tools/hv: fcopy: Fix irregularities with size of ring
buffer
On Sat, Jul 12, 2025 at 08:00:35PM +0000, Long Li wrote:
> > Subject: Re: [PATCH v4] tools/hv: fcopy: Fix irregularities with size of ring buffer
> >
> >
> >
> > On 7/11/2025 11:38 AM, Naman Jain wrote:
> > > Size of ring buffer, as defined in uio_hv_generic driver, is no longer
> > > fixed to 16 KB. This creates a problem in fcopy, since this size was
> > > hardcoded. With the change in place to make ring sysfs node actually
> > > reflect the size of underlying ring buffer, it is safe to get the size
> > > of ring sysfs file and use it for ring buffer size in fcopy daemon.
> > > Fix the issue of disparity in ring buffer size, by making it dynamic
> > > in fcopy uio daemon.
> > >
> > > Cc: stable@...r.kernel.org
> > > Fixes: 0315fef2aff9 ("uio_hv_generic: Align ring size to system page")
> > > Signed-off-by: Naman Jain <namjain@...ux.microsoft.com>
> > > Reviewed-by: Saurabh Sengar <ssengar@...ux.microsoft.com>
>
> Reviewed-by: Long Li <longli@...rosoft.com>
Applied to hyperv-fixes. Thanks.
Powered by blists - more mailing lists