[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aF0c6nqRwpyCFuAq@infradead.org>
Date: Thu, 26 Jun 2025 03:11:54 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Yu Kuai <yukuai1@...weicloud.com>
Cc: axboe@...nel.dk, hare@...e.de, hch@...radead.org, yukuai3@...wei.com,
john.g.garry@...cle.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yi.zhang@...hat.com,
calvin@...nvd.org, david@...morbit.com, yi.zhang@...wei.com,
yangerkun@...wei.com, johnny.chenyi@...wei.com
Subject: Re: [PATCH] block: fix false warning in bdev_count_inflight_rw()
I think you want to make the inflight array a signed type instead,
so that if the earlier CPUs have negative counts due to migration
that gets even out later on. Which should also make the
counter not trigger normally.
Powered by blists - more mailing lists