]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
fix: correct metadata's update communication
authorLukasz Dorau <lukasz.dorau@intel.com>
Fri, 18 Nov 2011 14:34:33 +0000 (15:34 +0100)
committerNeilBrown <neilb@suse.de>
Mon, 21 Nov 2011 05:17:56 +0000 (16:17 +1100)
commit7728e1c635b6536e806e8adb5fb3a816d29b8742
treedd620ea43a026298f1c34822f7400b05e67fc268
parent464d40e80abc61e0cd8824a9e2c73f0a2b45f04c
fix: correct metadata's update communication

The problem occurs when array under migration is assembled incrementally.
st->update_tail is not initialized in function
assemble_container_content() and during reshape
the checkpoint information in metadata is not being updated.

The value of st->update_tail is now initialized in function
assemble_container_content() and during reshape the checkpoint
information in metadata is being updated correctly on all disks.

Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c