]> www.infradead.org Git - users/dwmw2/linux.git/commit
md: replace last_sync_action with new enum type
authorYu Kuai <yukuai3@huawei.com>
Tue, 11 Jun 2024 13:22:48 +0000 (21:22 +0800)
committerSong Liu <song@kernel.org>
Wed, 12 Jun 2024 16:32:57 +0000 (16:32 +0000)
commitd249e541887a966df37544f7c4d301cdee0f0e27
tree1b4e96d964786e967c14eb929b2a54ed983a7b6a
parent7d9f107a4e946bb52b7502eed9ed8f316700397e
md: replace last_sync_action with new enum type

The only difference is that "none" is removed and initial
last_sync_action will be idle.

On the one hand, this value is introduced by commit c4a395514516
("MD: Remember the last sync operation that was performed"), and the
usage described in commit message is not affected. On the other hand,
last_sync_action is not used in mdadm or mdmon, and none of the tests
that I can find.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-10-yukuai1@huaweicloud.com
drivers/md/dm-raid.c
drivers/md/md.c
drivers/md/md.h