All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Shaohua Li <shli@kernel.org>
Cc: linux-block@vger.kernel.org, vgoyal@redhat.com, axboe@kernel.dk,
	Kernel-team@fb.com, Shaohua Li <shli@fb.com>
Subject: Re: [RFC 1/2] block: record blkcss in request
Date: Wed, 4 Oct 2017 10:51:49 -0700	[thread overview]
Message-ID: <20171004175149.GP3301751@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <95356f4da3de009464a06c314bf79db672be6adf.1507138530.git.shli@fb.com>

Hello, Shaohua.

On Wed, Oct 04, 2017 at 10:41:19AM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@fb.com>
> 
> Currently we record block css info in bio but not in request. Normally
> we can get a request's css from its bio, but in some situations, we
> can't access request's bio, for example, after blk_update_request. Add
> the css to request, so we can access css through the life cycle of a
> request.

Each request comes from cgroup specific request_list, so given a
request, its blkcg membership can is accessible through

	request->rl->blkg->blkcg

Thanks.

-- 
tejun

  reply	other threads:[~2017-10-04 17:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04 17:41 [RFC 0/2] block: export latency info for cgroups Shaohua Li
2017-10-04 17:41 ` [RFC 1/2] block: record blkcss in request Shaohua Li
2017-10-04 17:51   ` Tejun Heo [this message]
2017-10-04 18:02     ` Shaohua Li
2017-10-04 18:05       ` Tejun Heo
2017-10-04 17:41 ` [RFC 2/2] blockcg: export latency info for each cgroup Shaohua Li
2017-10-04 18:04   ` Tejun Heo
2017-10-05 16:45     ` Shaohua Li
2017-10-05 17:25       ` Tejun Heo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171004175149.GP3301751@devbig577.frc2.facebook.com \
    --to=tj@kernel.org \
    --cc=Kernel-team@fb.com \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=shli@fb.com \
    --cc=shli@kernel.org \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.