From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: Re: [PATCH] Grow: set component size prior to array size Date: Mon, 5 Jun 2017 11:06:48 -0400 Message-ID: <611d0b8e-f42f-48de-c881-bd55339d434c@gmail.com> References: <7964b1f5-5092-238b-403e-ed4fba584746@gmail.com> <1496671784-1612-1-git-send-email-tomasz.majchrzak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1496671784-1612-1-git-send-email-tomasz.majchrzak@intel.com> Content-Language: en-US Sender: linux-raid-owner@vger.kernel.org To: Tomasz Majchrzak , linux-raid@vger.kernel.org List-Id: linux-raid.ids On 06/05/2017 10:09 AM, Tomasz Majchrzak wrote: > It is a partial revert of commit 758b327cf5a7 ("Grow: Remove unnecessary > optimization"). For native metadata component size is set in kernel for > entire disk space. As external metadata supports multiple arrays within > one disk, the component size is set to array size. If component size is > not updated prior to array size update, the grow operation fails. > > Signed-off-by: Tomasz Majchrzak > --- > Grow.c | 2 ++ > 1 file changed, 2 insertions(+) Applied! Thanks, Jes