]> www.infradead.org Git - users/jedix/linux-maple.git/commit
md: rearrange recovery_flags
authorYu Kuai <yukuai3@huawei.com>
Tue, 11 Jun 2024 13:22:40 +0000 (21:22 +0800)
committerSong Liu <song@kernel.org>
Wed, 12 Jun 2024 16:27:49 +0000 (16:27 +0000)
commit0476d09c36a845757dd9fd1c80fbbf45b0faeb3c
treeee4318c4a25f6e975fb0ff0f5d5e6dbcf0165df0
parentab99a87542f194f28e2364a42afbf9fb48b1c724
md: rearrange recovery_flags

Currently there are lots of flags with the same confusing prefix
"MD_REOCVERY_", and there are two main types of flags, sync thread runnng
status, I prefer prefix "SYNC_THREAD_", and sync thread action, I perfer
prefix "SYNC_ACTION_".

For now, rearrange and update comment to improve code readability,
there are no functional changes.

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