On Wed, May 01, 2024 at 05:38:16PM +0200, Peter-Jan Gootzen wrote: > Virtio-fs devices might allocate significant resources to virtio queues > such as CPU cores that busy poll on the queue. The device indicates how > many request queues it can support and the driver should initialize the > number of queues that they want to utilize. > > In this patch we limit the number of initialized request queues to the > number of CPUs, to limit the resource consumption on the device-side > and to prepare for the upcoming multi-queue patch. > > Signed-off-by: Peter-Jan Gootzen <[email protected]> > Signed-off-by: Yoray Zack <[email protected]> > Suggested-by: Max Gurtovoy <[email protected]> > Reviewed-by: Max Gurtovoy <[email protected]> > --- > fs/fuse/virtio_fs.c | 3 +++ > 1 file changed, 3 insertions(+)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
