From: Tejun Heo <tj@kernel.org>
To: Julian Sun <sunjunchao@bytedance.com>
Cc: linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk,
brauner@kernel.org, jack@suse.cz, akpm@linux-foundation.org,
roman.gushchin@linux.dev, dennis@kernel.org
Subject: Re: [PATCH 2/2] writeback: clear old wb dirty state after inode switches
Date: Fri, 16 Oct 2026 11:55:12 -1000 [thread overview]
Message-ID: <5c162c3f2de5753d4c95292b1311c3a9@kernel.org> (raw)
In-Reply-To: <20261016115230.3640770-3-sunjunchao@bytedance.com>
Hello, Julian.
On Fri, Oct 16, 2026 at 07:52:30PM +0800, Julian Sun wrote:
> Call wb_io_lists_depopulated() on the old wb after the batch of inode
> switches, while its list_lock is still held. This clears the flag and
> removes the bandwidth contribution if its dirty-I/O lists are empty.
Liz posted the same fix as part of her series:
https://lore.kernel.org/all/20261015-wb-dying-cgwb-flush-v7-1-9278d9ebaf5d@honeycomb.io/
Thanks.
--
tejun
prev parent reply other threads:[~2026-10-16 21:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 11:52 [PATCH 0/2] writeback: fix timestamp and dirty-state handling in wb switches Julian Sun
2026-10-16 11:52 ` [PATCH 1/2] writeback: reset dirtied_when when switching wbs Julian Sun
2026-10-16 21:55 ` Tejun Heo
2026-10-16 11:52 ` [PATCH 2/2] writeback: clear old wb dirty state after inode switches Julian Sun
2026-10-16 21:55 ` Tejun Heo [this message]
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=5c162c3f2de5753d4c95292b1311c3a9@kernel.org \
--to=tj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=brauner@kernel.org \
--cc=dennis@kernel.org \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=roman.gushchin@linux.dev \
--cc=sunjunchao@bytedance.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.