From: Bart Van Assche <bvanassche@acm.org>
To: Christian Brauner <brauner@kernel.org>,
linux-fsdevel@vger.kernel.org, Christoph Hellwig <hch@lst.de>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>,
Dave Kleikamp <shaggy@kernel.org>,
jfs-discussion@lists.sourceforge.net,
Edward Adam Davis <eadavis@qq.com>, Jens Axboe <axboe@kernel.dk>,
Ming Lei <tom.leiming@gmail.com>, Hillf Danton <hdanton@sina.com>,
Tao Cui <cui.tao@linux.dev>, Al Viro <viro@zeniv.linux.org.uk>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
Clark Williams <clrkwllms@kernel.org>,
Steven Rostedt <rostedt@goodmis.org>,
linux-rt-devel@lists.linux.dev, linux-block@vger.kernel.org,
stable@vger.kernel.org,
syzbot+cd8a9a308e879a4e2c28@syzkaller.appspotmail.com,
syzbot+ecf51a7ccb6b1394e90c@syzkaller.appspotmail.com,
syzbot+bc273027d5643e48e5b3@syzkaller.appspotmail.com
Subject: Re: [PATCH 1/2] jfs: wait for lbmDONE under LCACHE_LOCK in lbmRead()
Date: Mon, 23 Nov 2026 08:18:51 -0800 [thread overview]
Message-ID: <0c9c4e2a-2fd9-4e0c-846c-d2f810ee2cd8@acm.org> (raw)
In-Reply-To: <20261123-work-loop-backing-file-v1-1-48f83eaf2499@kernel.org>
On 11/23/26 5:02 AM, Christian Brauner wrote:
> diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
> index 306165e61438c..e96593d79a1df 100644
> --- a/fs/jfs/jfs_logmgr.c
> +++ b/fs/jfs/jfs_logmgr.c
> @@ -1984,7 +1984,7 @@ static int lbmRead(struct jfs_log * log, int pn, struct lbuf ** bpp)
> submit_bio(bio);
> }
>
> - wait_event(bp->l_ioevent, (bp->l_flag != lbmREAD));
> + lbmIOWait(bp, 0);
>
> return 0;
> }
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
next prev parent reply other threads:[~2026-11-23 16:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 13:02 [PATCH 0/2] jfs: fix lbmDONE races in lbmIODone() (was "loop bug saga") Christian Brauner
2026-11-23 13:02 ` [PATCH 1/2] jfs: wait for lbmDONE under LCACHE_LOCK in lbmRead() Christian Brauner
2026-11-23 16:18 ` Bart Van Assche [this message]
2026-11-23 13:02 ` [PATCH 2/2] jfs: set lbmDONE before dropping LCACHE_LOCK for lmPostGC() Christian Brauner
2026-11-23 16:19 ` Bart Van Assche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c9c4e2a-2fd9-4e0c-846c-d2f810ee2cd8@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=bigeasy@linutronix.de \
--cc=brauner@kernel.org \
--cc=clrkwllms@kernel.org \
--cc=cui.tao@linux.dev \
--cc=eadavis@qq.com \
--cc=hch@lst.de \
--cc=hdanton@sina.com \
--cc=jfs-discussion@lists.sourceforge.net \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-rt-devel@lists.linux.dev \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
--cc=rostedt@goodmis.org \
--cc=shaggy@kernel.org \
--cc=stable@vger.kernel.org \
--cc=syzbot+bc273027d5643e48e5b3@syzkaller.appspotmail.com \
--cc=syzbot+cd8a9a308e879a4e2c28@syzkaller.appspotmail.com \
--cc=syzbot+ecf51a7ccb6b1394e90c@syzkaller.appspotmail.com \
--cc=tom.leiming@gmail.com \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox