[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000000000000420309060b7cc1bd@google.com>
Date: Fri, 01 Dec 2023 17:25:06 -0800
From: syzbot <syzbot+ed812ed461471ab17a0c@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] [block?] [trace?] INFO: task hung in blk_trace_ioctl
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: [block?] [trace?] INFO: task hung in blk_trace_ioctl
Author: eadavis@...com
please test task hung in blk_trace_ioctl
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 8c9660f65153
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c
index d5d94510af..54ade89a1a 100644
--- a/kernel/trace/blktrace.c
+++ b/kernel/trace/blktrace.c
@@ -588,8 +588,10 @@ static int do_blk_trace_setup(struct request_queue *q, char *name, dev_t dev,
debugfs_create_file("dropped", 0444, dir, bt, &blk_dropped_fops);
debugfs_create_file("msg", 0222, dir, bt, &blk_msg_fops);
+ mutex_unlock(&q->debugfs_mutex);
bt->rchan = relay_open("trace", dir, buts->buf_size,
buts->buf_nr, &blk_relay_callbacks, bt);
+ mutex_lock(&q->debugfs_mutex);
if (!bt->rchan)
goto err;
Powered by blists - more mailing lists