summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorTejun Heo2019-06-27 22:39:49 +0200
committerJens Axboe2019-07-10 17:00:57 +0200
commit34e51a5e1a6e939ed7d99c38173821ab86d577f4 (patch)
treec3a151220052cd67699f4c0e2f04daad5f5d753b /Documentation/admin-guide
parentcgroup, blkcg: Prepare some symbols for module and !CONFIG_CGROUP usages (diff)
downloadkernel-qcow2-linux-34e51a5e1a6e939ed7d99c38173821ab86d577f4.tar.gz
kernel-qcow2-linux-34e51a5e1a6e939ed7d99c38173821ab86d577f4.tar.xz
kernel-qcow2-linux-34e51a5e1a6e939ed7d99c38173821ab86d577f4.zip
blkcg, writeback: Rename wbc_account_io() to wbc_account_cgroup_owner()
wbc_account_io() does a very specific job - try to see which cgroup is actually dirtying an inode and transfer its ownership to the majority dirtier if needed. The name is too generic and confusing. Let's rename it to something more specific. 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 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/cgroup-v2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index a5c845338d6d..6223f485f7e1 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -2114,7 +2114,7 @@ following two functions.
a queue (device) has been associated with the bio and
before submission.
- wbc_account_io(@wbc, @page, @bytes)
+ wbc_account_cgroup_owner(@wbc, @page, @bytes)
Should be called for each data segment being written out.
While this function doesn't care exactly when it's called
during the writeback session, it's the easiest and most