summaryrefslogtreecommitdiffstats
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-08-26 09:06:55 -0700
committerJens Axboe <axboe@kernel.dk>2019-08-27 09:22:38 -0600
commitd62241c7a406f0680d702bd974f6f17e28ab8e5d (patch)
tree284d9d72f978a881034a791a8692994252b6b93b /mm/page-writeback.c
parented288dc0d4aa29f65bd25b31b5cb866aa5664ff9 (diff)
downloadlinux-d62241c7a406f0680d702bd974f6f17e28ab8e5d.tar.gz
linux-d62241c7a406f0680d702bd974f6f17e28ab8e5d.tar.bz2
linux-d62241c7a406f0680d702bd974f6f17e28ab8e5d.zip
writeback, memcg: Implement cgroup_writeback_by_id()
Implement cgroup_writeback_by_id() which initiates cgroup writeback from bdi and memcg IDs. This will be used by memcg foreign inode flushing. v2: Use wb_get_lookup() instead of wb_get_create() to avoid creating spurious wbs. v3: Interpret 0 @nr as 1.25 * nr_dirty to implement best-effort flushing while avoding possible livelocks. Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions