Re: [PATCH v2] tracing: Introduce pipe_cpumask to avoid race on trace_pipes
From: Google
Date: Mon Aug 21 2023 - 18:32:17 EST
On Mon, 21 Aug 2023 11:17:25 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Sat, 19 Aug 2023 10:42:57 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > >From 92242480285448360c9390a743ea7b3751bb3e61 Mon Sep 17 00:00:00 2001
> > From: "Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx>
> > Date: Thu, 17 Aug 2023 14:08:40 +0900
> > Subject: [PATCH 1/3] tools/virtio-trace: Ignore EAGAIN error on splice()
> >
> > splice() can return EAGAIN error instead of returning 0 size read.
> > In that case, wait a while and try to call splice() again.
> >
> > Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>
> Bah,
>
> When I pulled in Zheng's patch from patchwork, it included the above
> signed-off-by. I was confused to why it added your SoB.
Oops, I didn't noticed such patchwork behavior.
>
> Probably best if we had started this conversation on another thread and
> not hijack the discussion about this patch.
Agreed. Sorry for confusion.
>
> -- Steve
>
>
> > ---
> > tools/virtio/virtio-trace/trace-agent-rw.c | 7 ++++---
> > 1 file changed, 4 insertions(+), 3 deletions(-)
>
--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>