summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-04-01 10:05:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-01 10:05:42 -0700
commitb6c3a5946c60ed2e3da33443a7db8f000ba108c5 (patch)
tree3c3dd281752222aa8125f0c01add6067a8920f15 /kernel
parent1e848913f017cb84256ef5fe4cdd5cc4b935bd36 (diff)
parent1efff914afac8a965ad63817ecf8861a927c2ace (diff)
downloadop-kernel-dev-b6c3a5946c60ed2e3da33443a7db8f000ba108c5.zip
op-kernel-dev-b6c3a5946c60ed2e3da33443a7db8f000ba108c5.tar.gz
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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 88ea2d6..ce410bb 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,
OpenPOWER on IntegriCloud