Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965122AbWHQPE7 (ORCPT ); Thu, 17 Aug 2006 11:04:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965120AbWHQPE6 (ORCPT ); Thu, 17 Aug 2006 11:04:58 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:61958 "EHLO spitz.ucw.cz") by vger.kernel.org with ESMTP id S965111AbWHQPE5 (ORCPT ); Thu, 17 Aug 2006 11:04:57 -0400 Date: Thu, 17 Aug 2006 15:04:19 +0000 From: Pavel Machek To: Chuck Ebbert <76306.1226@compuserve.com> Cc: Neil Brown , linux-kernel , linux-raid Subject: Re: [patch] raid1: allow user to force reads from a specific disk Message-ID: <20060817150419.GC5950@ucw.cz> References: <200608062018_MC3-1-C74D-B4E9@compuserve.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608062018_MC3-1-C74D-B4E9@compuserve.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 22 Hi! > Allow user to force raid1 to read all data from a given disk. > This lets users do integrity checking by comparing results > from reading different disks. If at any time the system finds > it cannot read from the given disk it resets the disk number > to -1, the default, which means to balance reads. > > Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Using /sysfs as an interface... so that two utilities checking disk integrity will interfere with each other and integrity check will interfere with normal work. Perhaps ioctl/fcntl and per-fd status is would be right thing to do? -- Thanks for all the (sleeping) penguins. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/