Re: [PATCH] writeback: initialize inode members that track writeback history

From: Jens Axboe
Date: Wed Feb 17 2016 - 10:30:42 EST


On 02/16/2016 02:49 PM, Tejun Heo wrote:
Hello,

On Tue, Feb 16, 2016 at 01:34:39PM -0800, Tahsin Erdogan wrote:
inode struct members that track cgroup writeback information
should be reinitialized when inode gets allocated from
kmem_cache. Otherwise, their values remain and get used by the
new inode.

Signed-off-by: Tahsin Erdogan <tahsin@xxxxxxxxxx>
Acked-by: Tejun Heo <tj@xxxxxxxxxx>

This one should go for 4.5 and also prolly have the following tag.

Fixes: d10c80955265 ("writeback: implement foreign cgroup inode bdi_writeback switching")

I've added it for 4.5 with the fixes tag.

--
Jens Axboe