From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Williams Subject: Re: [PATCH 09/17] Monitor: avoid skipping checks on external arays Date: Thu, 04 Nov 2010 22:47:11 -0700 Message-ID: <4CD39A5F.2050703@intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: "Czarnowska, Anna" Cc: Neil Brown , "linux-raid@vger.kernel.org" , "Neubauer, Wojciech" , "Ciechanowski, Ed" , "Labun, Marcin" , "Hawrylewicz Czarnowski, Przemyslaw" List-Id: linux-raid.ids On 10/29/2010 7:23 AM, Czarnowska, Anna wrote: > From bb9ca6dbe0a92e00b21cd8985533b561b40ed6b9 Mon Sep 17 00:00:00 2001 > From: Anna Czarnowska > Date: Mon, 25 Oct 2010 11:30:43 +0200 > Subject: [PATCH 09/17] Monitor: avoid skipping checks on external arays > > utime is not correct for external metadata so we can only > skip further checks for native metadata > > Signed-off-by: Anna Czarnowska > --- > Monitor.c | 33 ++++++++++++++++++++++++++------- > 1 files changed, 26 insertions(+), 7 deletions(-) > > diff --git a/Monitor.c b/Monitor.c > index a4bfedd..d915d7d 100644 > --- a/Monitor.c > +++ b/Monitor.c > @@ -50,6 +50,7 @@ struct state { > int devstate[MaxDisks]; > unsigned devid[MaxDisks]; > int percent; > + char *metadata_version; Another small nit... this is really just a "int utime_valid" flag, calling it "char *metadata_version" is a slightly confusing shortcut.