diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-08-26 15:44:50 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-08-27 12:43:16 -0700 |
commit | 49f5f5e309e6127957babed7834f5a0e1022f936 (patch) | |
tree | ab7a00056d2108621f47c9488f29f3dbc80f5560 /drivers/md/raid1.c | |
parent | c65c20dc504b08204d6c3effffa9409a526822aa (diff) |
md/md-bitmap: merge md_bitmap_wait_behind_writes() into bitmap_operations
So that the implementation won't be exposed, and it'll be possible
to invent a new bitmap by replacing bitmap_operations.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240826074452.1490072-41-yukuai1@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/raid1.c')
-rw-r--r-- | drivers/md/raid1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 3e678af8f28a..b15725a7a581 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -1371,7 +1371,7 @@ static void raid1_read_request(struct mddev *mddev, struct bio *bio, * over-take any writes that are 'behind' */ mddev_add_trace_msg(mddev, "raid1 wait behind writes"); - md_bitmap_wait_behind_writes(mddev); + mddev->bitmap_ops->wait_behind_writes(mddev); } if (max_sectors < bio_sectors(bio)) { |