Re: [PATCH RFC] ext4: use __GFP_NOFAIL in ext4_free_blocks()

From: Theodore Ts'o
Date: Sun Mar 13 2016 - 17:30:32 EST

On Wed, Feb 24, 2016 at 08:09:12PM +0300, Konstantin Khlebnikov wrote:
> This might be unexpected but pages allocated for sbi->s_buddy_cache are
> charged to current memory cgroup. So, GFP_NOFS allocation could fail if
> current task has been killed by OOM or if current memory cgroup has no
> free memory left. Block allocator cannot handle such failures here yet.
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>

Thanks, applied.

- Ted