]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - block/bio.c
blkcg: associate a blkg for pages being evicted by swap
authorDennis Zhou <dennis@kernel.org>
Wed, 5 Dec 2018 17:10:33 +0000 (12:10 -0500)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:37 +0000 (22:26 -0700)
commit6a7f6d86a561473032287c8e4583eac5853c6efa
tree32c54f20a3396c9da84e40625d2423821caa3556
parente439bedf6b24264f620cc05627e23a90054bde41
blkcg: associate a blkg for pages being evicted by swap

A prior patch in this series added blkg association to bios issued by
cgroups. There are two other paths that we want to attribute work back
to the appropriate cgroup: swap and writeback. Here we modify the way
swap tags bios to include the blkg. Writeback will be tackle in the next
patch.

Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h
mm/page_io.c