Re: [PATCH 1/2] bufferhead: Add _gfp version for sb_getblk()

From: Theodore Ts'o
Date: Thu Jul 02 2015 - 02:14:21 EST


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 <kernel@xxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/