From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with ESMTP id D65B86B02AE for ; Fri, 23 Jul 2010 15:41:01 -0400 (EDT) Received: from kpbe12.cbf.corp.google.com (kpbe12.cbf.corp.google.com [172.25.105.76]) by smtp-out.google.com with ESMTP id o6NJevM1012291 for ; Fri, 23 Jul 2010 12:40:58 -0700 Received: from pzk26 (pzk26.prod.google.com [10.243.19.154]) by kpbe12.cbf.corp.google.com with ESMTP id o6NJe8Fn010439 for ; Fri, 23 Jul 2010 12:40:56 -0700 Received: by pzk26 with SMTP id 26so209992pzk.19 for ; Fri, 23 Jul 2010 12:40:56 -0700 (PDT) Date: Fri, 23 Jul 2010 12:40:50 -0700 (PDT) From: David Rientjes Subject: Re: [patch 6/6] jbd2: remove dependency on __GFP_NOFAIL In-Reply-To: <20100723150543.GG13090@thunk.org> Message-ID: References: <20100722141437.GA14882@thunk.org> <20100722230935.GB16373@thunk.org> <20100723141054.GE13090@thunk.org> <20100723145730.GD3305@quack.suse.cz> <20100723150543.GG13090@thunk.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Ted Ts'o Cc: Jan Kara , Andrew Morton , Andreas Dilger , Jiri Kosina , linux-mm@kvack.org, linux-ext4@vger.kernel.org List-ID: On Fri, 23 Jul 2010, Ted Ts'o wrote: > __GFP_NOFAIL is going away, so add our own retry loop. Also add > jbd2__journal_start() and jbd2__journal_restart() which take a gfp > mask, so that file systems can optionally (re)start transaction > handles using GFP_KERNEL. If they do this, then they need to be > prepared to handle receiving an PTR_ERR(-ENOMEM) error, and be ready > to reflect that error up to userspace. > > Signed-off-by: "Theodore Ts'o" Acked-by: David Rientjes Will you be pushing the equivalent patch for jbd? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org