Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671AbbFNWTm (ORCPT ); Sun, 14 Jun 2015 18:19:42 -0400 Received: from smtp2.provo.novell.com ([137.65.250.81]:53172 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751683AbbFNWTi (ORCPT ); Sun, 14 Jun 2015 18:19:38 -0400 Message-ID: <557DFDF3.2060106@suse.com> Date: Sun, 14 Jun 2015 17:19:31 -0500 From: Goldwyn Rodrigues User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Teigland , Neil Brown CC: linux-kernel@vger.kernel.org Subject: Re: clustered MD References: <20150609182102.GA4305@redhat.com> <55773DE1.7080107@suse.com> <20150609194505.GA17536@redhat.com> <557747AB.7080706@suse.com> <20150609203056.GB17536@redhat.com> <5577AFF4.6020505@suse.com> <20150610150151.GA333@redhat.com> <20150611063131.51fa2ddb@home.neil.brown.name> <20150610210744.GG333@redhat.com> <20150611085034.6b34955c@home.neil.brown.name> <20150612184623.GA5130@redhat.com> In-Reply-To: <20150612184623.GA5130@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 988 Lines: 24 On 06/12/2015 01:46 PM, David Teigland wrote: > When a node fails, its dirty areas get special treatment from other nodes > using the area_resyncing() function. Should the suspend_list be created > before any reads or writes from the file system are processed by md? It > seems to me that gfs journal recovery could read/write to dirty regions > (from the failed node) before md was finished setting up the suspend_list. > md could probably prevent that by using the recover_prep() dlm callback to > set a flag that would block any i/o that arrived before the suspend_list > was ready. > > . Yes, we should call mddev_suspend() in recover_prep() and mddev_resume() after suspend_list is created. Thanks for pointing it out. -- Goldwyn -- 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/