Commit 869921da authored by Zizhi Wo's avatar Zizhi Wo
Browse files

fs/dirty_pages: dump the number of dirty pages for each inode

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8OHM4?from=project-issue


CVE: NA

----------------------------------------

In order to analyse the IO performance when using buffer IO, it's useful
to obtain the number of dirty pages for each inode in the filesystem.

This feature depends on 'CONFIG_DIRTY_PAGES'. It creates 3 interfaces by
using procfs. /proc/dirty/buffer_size for buffer allocation and release,
/proc/dirty/page_threshold to filter result and /proc/dirty/dirty_list to
get dirty pages.

Signed-off-by: default avatarZizhi Wo <wozizhi@huawei.com>
parent 218ebf01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment