Re: [PATCH] block: cfq_cpd_alloc() should use @gfp

From: Jens Axboe
Date: Thu Nov 10 2016 - 12:10:34 EST


On 11/10/2016 09:16 AM, Tejun Heo wrote:
Re: [bug report] blkcg: replace blkcg_policy->cpd_size with
->cpd_alloc/free_fn() methods
Reply-To:
In-Reply-To: <20161110133426.GA30610@mwanda>

cfq_cpd_alloc() which is the cpd_alloc_fn implementation for cfq was
incorrectly hard coding GFP_KERNEL instead of using the mask specified
through the @gfp parameter. This currently doesn't cause any actual
issues because all current callers specify GFP_KERNEL. Fix it.

Thanks Tejun, applied for 4.10.

--
Jens Axboe