Thread (8 messages) flat view 8 messages, 4 authors, 2021-05-11

Re: [PATCH] virtiofs: Enable multiple request queues

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-05-11 10:23:24
Also in: linux-fsdevel, lkml

On Fri, May 07, 2021 at 05:15:27PM -0500, Connor Kuehl wrote:
quoted hunk ↗ jump to hunk
@@ -1245,7 +1262,8 @@ __releases(fiq->lock)
 		 req->in.h.nodeid, req->in.h.len,
 		 fuse_len_args(req->args->out_numargs, req->args->out_args));
 
-	fsvq = &fs->vqs[queue_id];
+	fsvq = this_cpu_read(this_cpu_fsvq);
Please check how CPU hotplug affects this patch. If the current CPU
doesn't have a vq because it was hotplugged, then it may be necessary to
pick another vq.

Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help