Received: by 10.213.65.68 with SMTP id h4csp332701imn; Fri, 6 Apr 2018 00:33:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx49my37xoCRjvblV90p6AS54RC9bpfr/4hwCApBLdVF1Sum738afj4nX+5ylS/r2K0PfttI0 X-Received: by 10.99.106.67 with SMTP id f64mr12352279pgc.218.1523000037649; Fri, 06 Apr 2018 00:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523000037; cv=none; d=google.com; s=arc-20160816; b=zStpoe4TFLIXLA+Ixm0vPQMw6YkEbczPFQVUiVsuxs0lYVfKk6eZ33mX4qbwBvMTiu vGgdaciDS9+6b3xhZOXu189cDgji9ePsCLriTLV86GjEKpzLv/6ZEag8YTGklLrVQySj 8mXhGhasgqGI93oxTSV8xyO+eVD3NZv1LjBshlmadXweawcOovCNcvVa1dGSWNGU/Mmk jiPWBRb0uo6QW7CF4JstuCSOhriFcac784jYVF3QF89wajj5MSsPpY8QdKieMjmaVNYz +1OJRif9tai4EYBUA5C8knSb9z76ahvy0sL5vCGBLAK++YHYtB/FtJLasFQO5dSxS0r0 8XeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=P5Q2Z+PYPD0a3H6qFhctehE1sCkh3cOeuni5rySDWjI=; b=wo7mi1vf/4YNeOa8tfpHdzXAm/Yd/ZuFmFt5ZbzQnnQ5aYTswSHDZuPZATCqkBA3+7 /RqwgRvc09wUkSfdIKlw4HylgP16+uDAM9N0lmYm1x+52GwnJoMW5zPBGJjLvckAvhx9 sJjnBeyWkbNbksq8rvfhpYf6k2nbNs3/FKPSfBplK62bNyvoCsmZEKmXF/FdZl1jwmqe ky1IoQe6gLhznPaW2U9KPnxeUjSSnGnsKSam7u2R04X0xRYAYRs9OYwbM43Lslwg7xKe CFZAaRJJ6NM6zksgDtgwc9S70TlZJsVEicLOJhROBckn7hbmjkMLXBy8r1Krj+zHQCF+ GS2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b38-v6si8162243pla.124.2018.04.06.00.33.42; Fri, 06 Apr 2018 00:33:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751412AbeDFHcf (ORCPT + 99 others); Fri, 6 Apr 2018 03:32:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57738 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbeDFHce (ORCPT ); Fri, 6 Apr 2018 03:32:34 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3F647D2F; Fri, 6 Apr 2018 07:32:33 +0000 (UTC) Date: Fri, 6 Apr 2018 09:32:32 +0200 From: Greg Kroah-Hartman To: Ben Hutchings Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Guoqing Jiang , NeilBrown , Shaohua Li , Sasha Levin Subject: Re: [PATCH 4.4 63/97] md/raid10: skip spare disk as first disk Message-ID: <20180406073232.GD15735@kroah.com> References: <20180323094157.535925724@linuxfoundation.org> <20180323094201.150412201@linuxfoundation.org> <1522791129.2654.135.camel@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1522791129.2654.135.camel@codethink.co.uk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 03, 2018 at 10:32:09PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.??If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Shaohua Li > > > > > > [ Upstream commit b506335e5d2b4ec687dde392a3bdbf7601778f1d ] > > > > Commit 6f287ca(md/raid10: reset the 'first' at the end of loop) ignores > > a case in reshape, the first rdev could be a spare disk, which shouldn't > > be accounted as the first disk since it doesn't include the offset info. > > > > Fix: 6f287ca(md/raid10: reset the 'first' at the end of loop) > > But that commit hasn't been applied to 4.4-stable. It probably should > be, since it fixes another instance of the problem in the run() > function. Take care not to add the wrongly placed assignment > in?raid10_start_reshape(). Thanks, now fixed up. greg k-h