+ doc-add-description-to-dirtytime_expire_seconds.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: Documentation/sysctl/vm.txt: add description to dirtytime_expire_seconds
has been added to the -mm tree.  Its filename is
     doc-add-description-to-dirtytime_expire_seconds.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/doc-add-description-to-dirtytime_expire_seconds.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/doc-add-description-to-dirtytime_expire_seconds.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx>
Subject: Documentation/sysctl/vm.txt: add description to dirtytime_expire_seconds

1efff914afac8 ("fs: add dirtytime_expire_seconds sysctl") introduced
dirtytime_expire_seconds knob, but there is not description about it in
Documentation/sysctl/vm.txt.

Add the description for it.

Link: http://lkml.kernel.org/r/1529366358-67312-1-git-send-email-yang.shi@xxxxxxxxxxxxxxxxx
Signed-off-by: Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx>
Cc: Theodore Ts'o <tytso@xxxxxxx>
Cc: Nikolay Borisov <nborisov@xxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 Documentation/sysctl/vm.txt |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff -puN Documentation/sysctl/vm.txt~doc-add-description-to-dirtytime_expire_seconds Documentation/sysctl/vm.txt
--- a/Documentation/sysctl/vm.txt~doc-add-description-to-dirtytime_expire_seconds
+++ a/Documentation/sysctl/vm.txt
@@ -27,6 +27,7 @@ Currently, these files are in /proc/sys/
 - dirty_bytes
 - dirty_expire_centisecs
 - dirty_ratio
+- dirtytime_expire_seconds
 - dirty_writeback_centisecs
 - drop_caches
 - extfrag_threshold
@@ -178,6 +179,18 @@ The total available memory is not equal
 
 ==============================================================
 
+dirtytime_expire_seconds
+
+When a lazytime inode is constantly having its pages dirtied, the inode with
+an updated timestamp will never get chance to be written out.  And, if the
+only thing that has happened on the file system is a dirtytime inode caused
+by an atime update, a worker will be scheduled to make sure that inode
+eventually gets pushed out to disk.  This tunable is used to define when dirty
+inode is old enough to be eligible for writeback by the kernel flusher threads.
+And, it is also used as the interval to wakeup dirtytime_writeback thread.
+
+==============================================================
+
 dirty_writeback_centisecs
 
 The kernel flusher threads will periodically wake up and write `old' data
_

Patches currently in -mm which might be from yang.shi@xxxxxxxxxxxxxxxxx are

doc-add-description-to-dirtytime_expire_seconds.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux