From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikhail Balabin Subject: Re: polling mdX/md/degraded in sysfs Date: Tue, 10 Jan 2012 21:19:36 +0600 Message-ID: References: <20120109114433.6cf3c47a@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: NeilBrown , Alexander Lyakas Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids 2012/1/9 Mikhail Balabin : > 2012/1/9 NeilBrown : >> On Sun, 8 Jan 2012 11:06:59 +0200 Alexander Lyakas >> wrote: >> >>> Hi, >>> well, at least according to 2.6.38-8 kernel code, this attribute is >>> notified in 3 cases: >>> # When the array is started (e.g., via RUN_ARRAY ioctl) >>> # When "reshape" is initiated via sysfs >>> # When a spare is activated after successful completion of >>> resync/recover/check/replair >>> >> >> Hmm... it really should notify when a disk fails. >> >> Mikhail: could you please test if this patch makes it work better for you? > > Ok, I'll try to test the patch against 3.2 today. > >> Thanks, >> NeilBrown > > Mikhail Balabin The patch have fixed the issue. I suppose it should go to the mainline. Alexander, Neil, thanks for your efforts. Mikhail Balabin