]> Gentwo Git Trees - linux/.git/commit
md/md-bitmap: add a new parameter 'flush' to bitmap_ops->enabled
authorYu Kuai <yukuai3@huawei.com>
Mon, 7 Jul 2025 01:27:01 +0000 (09:27 +0800)
committerYu Kuai <yukuai3@huawei.com>
Sat, 6 Sep 2025 09:11:42 +0000 (17:11 +0800)
commit9c41ead04ec0d3ee54505039879aee20cf495e0a
treec54d58748a50adcab28cb26ab309f909c9e874a7
parent9307dbac0ea3fea977677d6c590b49f35a8203fc
md/md-bitmap: add a new parameter 'flush' to bitmap_ops->enabled

The method is only used from raid1/raid10 IO path, to check if write
bio should be pluged, the parameter is always set to true for now,
following patch will use this helper in other context like updating
superblock.

Link: https://lore.kernel.org/linux-raid/20250707012711.376844-6-yukuai1@huaweicloud.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Xiao Ni <xni@redhat.com>
drivers/md/md-bitmap.c
drivers/md/md-bitmap.h
drivers/md/raid1-10.c