Re: [PATCH v2 5/5] btrfs: ensure that metadata and flush are issued from the root cgroup

From: Tejun Heo
Date: Thu Oct 12 2017 - 11:39:03 EST


On Wed, Oct 11, 2017 at 07:07:23PM +0200, David Sterba wrote:
> The comment is useful, but the condition will be always true, so I don't
> see the point.
>
> /*
> * The btree_inode will be always in the root cgroup. The cgroup
> * writeback can be enabled on regular inodes selectively.
> */
> new_fl |= S_CGROUPWB;
>
> is IMHO enough, based on my reading of patch 2/5 changelog.

Will update accordingly.

Thanks.

--
tejun