Go to file
Dennis Zhou (Facebook) a7b39b4e96 blkcg: always associate a bio with a blkg
Previously, blkg's were only assigned as needed by blk-iolatency and
blk-throttle. bio->css was also always being associated while blkg was
being looked up and then thrown away in blkcg_bio_issue_check.

This patch begins the cleanup of bio->css and bio->bi_blkg by always
associating a blkg in blkcg_bio_issue_check. This tries to create the
blkg, but if it is not possible, falls back to using the root_blkg of
the request_queue. Therefore, a bio will always be associated with a
blkg. The duplicate association logic is removed from blk-throttle and
blk-iolatency.

Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-21 20:29:06 -06:00
arch
block blkcg: always associate a bio with a blkg 2018-09-21 20:29:06 -06:00
certs
crypto
Documentation SCSI fixes on 20180905 2018-09-05 09:17:20 -07:00
drivers rsxx: Remove unnecessary parentheses 2018-09-11 16:56:39 -06:00
firmware
fs for-4.19-rc2-tag 2018-09-06 09:04:45 -07:00
include blkcg: always associate a bio with a blkg 2018-09-21 20:29:06 -06:00
init
ipc
kernel This fixes two bugs: 2018-09-06 09:06:49 -07:00
lib
LICENSES
mm for-linus-20180906 2018-09-06 14:01:15 -07:00
net
samples
scripts
security - Fix for bad debug check when converting secids to secctx 2018-09-06 09:42:14 -07:00
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.