]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Grow.c
FIX: monitor doesn't handshake with md
authorAdam Kwolek <adam.kwolek@intel.com>
Wed, 26 Jan 2011 20:31:25 +0000 (07:31 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 26 Jan 2011 20:31:25 +0000 (07:31 +1100)
commit16d4d84e5d71eee62048921565b73c611870cdb6
tree3a68e8319e41465962fadafe13a7afd8cced87d7
parent96234762a6dd8fb5be96650273c62d97da68d1ed
FIX: monitor doesn't handshake with md

when in container are present raid0 and raid5 arrays, and reshape order is:
1. raid0 array
2. raid5 array

mdadm cannot set new raid_disks for raid0 array. For this action md has to have
handshake with mdmon. We have the following conditions:
1. Raid0 is not monitored
2. raid0 has been just takeovered to raid4/5 (it has to be monitored
3. monitor has to start monitor new raid4/5 array
4. monitor is not started (it is started to second raid5 array)
In such situation pig_monitor is required to let know to m monitor about new array
(not in the starting monitor case only)

Signed-off-by: Adam Kwolek <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c