diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-01 10:05:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-01 10:05:42 -0700 |
commit | b6c3a5946c60ed2e3da33443a7db8f000ba108c5 (patch) | |
tree | 3c3dd281752222aa8125f0c01add6067a8920f15 /kernel | |
parent | 1e848913f017cb84256ef5fe4cdd5cc4b935bd36 (diff) | |
parent | 1efff914afac8a965ad63817ecf8861a927c2ace (diff) | |
download | linux-stable-b6c3a5946c60ed2e3da33443a7db8f000ba108c5.tar.gz linux-stable-b6c3a5946c60ed2e3da33443a7db8f000ba108c5.tar.bz2 linux-stable-b6c3a5946c60ed2e3da33443a7db8f000ba108c5.zip |
Merge tag 'lazytime_fix' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
Pull lazytime fixes from Ted Ts'o:
"This fixes a problem in the lazy time patches, which can cause
frequently updated inods to never have their timestamps updated.
These changes guarantee that no timestamp on disk will be stale by
more than 24 hours"
* tag 'lazytime_fix' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
fs: add dirtytime_expire_seconds sysctl
fs: make sure the timestamps for lazytime inodes eventually get written
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sysctl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 88ea2d6e0031..ce410bb9f2e1 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1228,6 +1228,14 @@ static struct ctl_table vm_table[] = { .extra1 = &zero, }, { + .procname = "dirtytime_expire_seconds", + .data = &dirtytime_expire_interval, + .maxlen = sizeof(dirty_expire_interval), + .mode = 0644, + .proc_handler = dirtytime_interval_handler, + .extra1 = &zero, + }, + { .procname = "nr_pdflush_threads", .mode = 0444 /* read-only */, .proc_handler = pdflush_proc_obsolete, |