Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753025AbbGBGOR (ORCPT ); Thu, 2 Jul 2015 02:14:17 -0400 Received: from imap.thunk.org ([74.207.234.97]:36362 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752993AbbGBGOI (ORCPT ); Thu, 2 Jul 2015 02:14:08 -0400 Date: Thu, 2 Jul 2015 02:14:05 -0400 From: "Theodore Ts'o" To: Nikolay Borisov Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] bufferhead: Add _gfp version for sb_getblk() Message-ID: <20150702061405.GA3108@thunk.org> Mail-Followup-To: Theodore Ts'o , Nikolay Borisov , adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org References: <1435645609-20387-1-git-send-email-kernel@kyup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435645609-20387-1-git-send-email-kernel@kyup.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 19 On Tue, Jun 30, 2015 at 09:26:48AM +0300, Nikolay Borisov wrote: > sb_getblk() is used during ext4 (and possibly other FSes) writeback > paths. Sometimes such path require allocating memory and guaranteeing > that such allocation won't block. Currently, however, there is no way > to provide user flags for sb_getblk which could lead to deadlocks. > > This patch implements a sb_getblk_gfp with the only difference it can > accept user-provided GFP flags. > > Signed-off-by: Nikolay Borisov I've added this to the ext4.git tree, thanks. - Ted -- 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/