[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180530155319.GJ1351649@devbig577.frc2.facebook.com>
Date: Wed, 30 May 2018 08:53:19 -0700
From: Tejun Heo <tj@...nel.org>
To: Josef Bacik <josef@...icpanda.com>
Cc: axboe@...nel.dk, kernel-team@...com, linux-block@...r.kernel.org,
akpm@...ux-foundation.org, linux-mm@...ck.org, hannes@...xchg.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
Josef Bacik <jbacik@...com>
Subject: Re: [PATCH 02/13] block: introduce bio_issue_as_root_blkg
On Tue, May 29, 2018 at 05:17:13PM -0400, Josef Bacik wrote:
> From: Josef Bacik <jbacik@...com>
>
> Instead of forcing all file systems to get the right context on their
> bio's, simply check for REQ_META to see if we need to issue as the root
> blkg. We don't want to force all bio's to have the root blkg associated
> with them if REQ_META is set, as some controllers (blk-iolatency) need
> to know who the originating cgroup is so it can backcharge them for the
> work they are doing. This helper will make sure that the controllers do
> the proper thing wrt the IO priority and backcharging.
>
> Signed-off-by: Josef Bacik <jbacik@...com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists