]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: Move update_tail assign to Grow_reshape()
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Thu, 18 Jan 2024 10:30:18 +0000 (11:30 +0100)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 20 Feb 2024 13:05:19 +0000 (14:05 +0100)
commitea2ca7ed3dbbf881ce08d80fe371f2aaf05011c3
treeb8b743210911875f4fde6e57641f3196b6f869ce
parentfdb7e802f4cf64d067c3abaafa35056e2bc1ed43
Grow: Move update_tail assign to Grow_reshape()

Due to e919fb0af245 ("FIX: Enable metadata updates for raid0") code
can't enter super-intel.c:3415, resulting in checkpoint not being
saved to metadata for second volume in matrix raid array.
This results in checkpoint being stuck at last value for the
first volume.

Move st->update_tail to Grow_reshape() so it is assigned for each
volume.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Grow.c