Thread (30 messages) 30 messages, 4 authors, 2023-08-21

Re: [PATCH v2] tracing: Introduce pipe_cpumask to avoid race on trace_pipes

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2023-08-21 22:32:17
Also in: lkml

On Mon, 21 Aug 2023 11:17:25 -0400
Steven Rostedt [off-list ref] wrote:
On Sat, 19 Aug 2023 10:42:57 +0900
Masami Hiramatsu (Google) [off-list ref] wrote:
quoted
quoted
From 92242480285448360c9390a743ea7b3751bb3e61 Mon Sep 17 00:00:00 2001  
From: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
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@kernel.org>
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

quoted
---
 tools/virtio/virtio-trace/trace-agent-rw.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help