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

From: David Sterba
Date: Thu Oct 12 2017 - 14:58:38 EST


On Thu, Oct 12, 2017 at 10:06:28AM -0700, Tejun Heo wrote:
> Issuing metdata or otherwise shared IOs from !root cgroup can lead to
> priority inversion. This patch ensures that those IOs are always
> issued from the root cgroup.
>
> v3: Dropped unnecessary btree_inode handling as suggested by David
> Sterba.
>
> v2: Fixed missing @bh in submit_bh_blkcg_css() call.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Reviewed-by: Liu Bo <bo.li.liu@xxxxxxxxxx>
> Cc: David Sterba <dsterba@xxxxxxx>

Acked-by: David Sterba <dsterba@xxxxxxxx>