Re: [PATCH 09/17] Monitor: avoid skipping checks on external arays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/29/2010 7:23 AM, Czarnowska, Anna wrote:
 From bb9ca6dbe0a92e00b21cd8985533b561b40ed6b9 Mon Sep 17 00:00:00 2001
From: Anna Czarnowska<anna.czarnowska@xxxxxxxxx>
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<anna.czarnowska@xxxxxxxxx>
---
  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.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux