projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f286f3
)
md: remove/add redundancy group only in level change
author
Xiao Ni
<xni@redhat.com>
Wed, 11 Jun 2025 07:31:08 +0000
(15:31 +0800)
committer
Yu Kuai
<yukuai3@huawei.com>
Sat, 12 Jul 2025 09:52:05 +0000
(17:52 +0800)
del_gendisk is called in synchronous way now. So it doesn't need to handle
redundancy group in stop path separately.
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Xiao Ni <xni@redhat.com>
Link:
https://lore.kernel.org/linux-raid/20250611073108.25463-4-xni@redhat.com
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
drivers/md/md.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index dde3d2bfd34db751c803ed00d2a1600685abd78e..7ae91155f2e4f9b59e6eeb53326feb9454c72805 100644
(file)
--- a/
drivers/md/md.c
+++ b/
drivers/md/md.c
@@
-6523,8
+6523,6
@@
static void __md_stop(struct mddev *mddev)
if (mddev->private)
pers->free(mddev, mddev->private);
mddev->private = NULL;
- if (pers->sync_request && mddev->to_remove == NULL)
- mddev->to_remove = &md_redundancy_group;
put_pers(pers);
clear_bit(MD_RECOVERY_FROZEN, &mddev->recovery);