]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
dm raid: support delta_disks for raid1, fix table output
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 30 Jun 2016 11:57:08 +0000 (13:57 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 18 Jul 2016 19:37:31 +0000 (15:37 -0400)
commit7a7c330fc26652f71a4d73986d5308dcfdcef168
tree67db71c048619eb1763e4da2a81ddf76894b6c77
parent469b304b58c417874a68630c5f58cf076a34850c
dm raid: support delta_disks for raid1, fix table output

Add "delta_disks" constructor argument support to raid1 to allow for
consistent userspace disk addition/removal handling.

Fix raid_status() to report all raid disks with status and table output
on disk adding reshapes, not just the ones listed on the mddev; optimize
its rebuild and writemostly output.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c