]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
md/md-bitmap: fix dm-raid max_write_behind setting
authorYu Kuai <yukuai3@huawei.com>
Sat, 24 May 2025 06:13:10 +0000 (14:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:32 +0000 (15:57 +0200)
commit8ddce5eab6c364cdbfadf87164627c3ab7e63a76
treebb801de5c37a48e02fc17093bf8086348566cc09
parent477c044309e60e8c912a33c9f97525c2c027052a
md/md-bitmap: fix dm-raid max_write_behind setting

[ Upstream commit 2afe17794cfed5f80295b1b9facd66e6f65e5002 ]

It's supposed to be COUNTER_MAX / 2, not COUNTER_MAX.

Link: https://lore.kernel.org/linux-raid/20250524061320.370630-14-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/md-bitmap.c