Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fNyaG-0002j1-Gr for mharc-grub-devel@gnu.org; Wed, 30 May 2018 06:44:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNyaD-0002ii-Fr for grub-devel@gnu.org; Wed, 30 May 2018 06:43:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNya9-0006w5-Jw for grub-devel@gnu.org; Wed, 30 May 2018 06:43:57 -0400 Received: from boksu.net-space.pl ([185.15.1.105]:42958) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1fNya9-0006vS-97 for grub-devel@gnu.org; Wed, 30 May 2018 06:43:53 -0400 Received: (from localhost user: 'dkiper' uid#4000 fake: STDIN (dkiper@boksu.net-space.pl)) by router-fw-old.local.net-space.pl id S1841565AbeE3Knv (ORCPT ); Wed, 30 May 2018 12:43:51 +0200 Date: Wed, 30 May 2018 12:43:51 +0200 From: Daniel Kiper To: The development of GNU GRUB Cc: Goffredo Baroncelli Subject: Re: [PATCH 4/9] btrfs: avoiding a rescan for a device which was already not founded. Message-ID: <20180530104351.GD27874@router-fw-old.local.net-space.pl> References: <20180516184819.23736-1-kreijack@inwind.it> <20180516184819.23736-5-kreijack@inwind.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180516184819.23736-5-kreijack@inwind.it> User-Agent: Mutt/1.3.28i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 185.15.1.105 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 May 2018 10:43:58 -0000 WRT the subject: s/btrfs: avoiding a rescan for a device which was already not founded./ btrfs: Avoid a rescan for a device which was already not found/ On Wed, May 16, 2018 at 08:48:14PM +0200, Goffredo Baroncelli wrote: > If a device is not found, record this failure storing NULL in s/failure storing/failure by storing/ > data->devices_attached[]. This avoid un-necessary devices rescan, > speeding the reading in case of a degraded array. Last sentence should sound more or less like that: This way we avoid unnecessary devices rescan and speedup the reads in case of degraded array. Otherwise LGTM. Daniel