Unverified Commit 12e09ae6 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3083 fs/dirty_pages: introduce a new config option 'CONFIG_DIRTY_PAGES'

parents 97ae5e9d 248e2139
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6396,6 +6396,7 @@ CONFIG_PROC_PAGE_MONITOR=y
CONFIG_PROC_CHILDREN=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_DIRTY_PAGES=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
+1 −0
Original line number Diff line number Diff line
@@ -7462,6 +7462,7 @@ CONFIG_PROC_PID_ARCH_STATUS=y
CONFIG_PROC_CPU_RESCTRL=y
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_DIRTY_PAGES=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
+13 −0
Original line number Diff line number Diff line
@@ -156,6 +156,19 @@ source "fs/proc/Kconfig"
source "fs/kernfs/Kconfig"
source "fs/sysfs/Kconfig"

config DIRTY_PAGES
	bool "Dumps the number of dirty pages of each file"
	depends on PROC_FS
	default y
	help
	  This config supports the rendering of dirty page data to the user,
	  which may be useful to analyze the IO performance when using buffer
	  IO.

	  It create 3 interfaces by using procfs. /proc/dirty/buffer_size for
	  buffer allocation and release; /proc/dirty/page_threshold to filter
	  result; /proc/dirty/dirty_list to get dirty pages.

config TMPFS
	bool "Tmpfs virtual memory file system support (former shm fs)"
	depends on SHMEM
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ obj-$(CONFIG_FS_POSIX_ACL) += posix_acl.o
obj-$(CONFIG_NFS_COMMON)	+= nfs_common/
obj-$(CONFIG_COREDUMP)		+= coredump.o
obj-$(CONFIG_SYSCTL)		+= drop_caches.o
obj-$(CONFIG_SYSCTL)		+= dirty_pages.o
obj-$(CONFIG_DIRTY_PAGES)	+= dirty_pages.o

obj-$(CONFIG_FHANDLE)		+= fhandle.o
obj-$(CONFIG_CGROUP_FILES)	+= filescontrol.o