diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2021-05-11 09:42:24 +0200 |
---|---|---|
committer | Adrian Calianu <Adrian.Calianu@enea.com> | 2021-05-12 21:56:14 +0100 |
commit | c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8 (patch) | |
tree | 93a3d96c027a437fc9b168d07ab2ad62248d77d1 /patches/boot_time_opt/0102-increase-the-ext4-default-commit-age.patch | |
parent | 7a93e54032bb148a92e16b59736a1b76fedae319 (diff) | |
download | enea-kernel-cache-c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8.tar.gz |
boot_time_opt: update patches to 5.10 kernel
Patches used in boot time optimization are coming from
clearlinux distribution. Update patches correspuding to 5.10
kernel: https://github.com/clearlinux-pkgs/linux/tree/5.10.32-1034
We selected a list of patches from ClearLinux. Those we have
considered risky, unknown impact on functionality have been
avoided.
Change-Id: If01459292a5a383b49944645bd8536d9a62d9de3
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0102-increase-the-ext4-default-commit-age.patch')
-rw-r--r-- | patches/boot_time_opt/0102-increase-the-ext4-default-commit-age.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0102-increase-the-ext4-default-commit-age.patch b/patches/boot_time_opt/0102-increase-the-ext4-default-commit-age.patch new file mode 100644 index 0000000..21f0c5a --- /dev/null +++ b/patches/boot_time_opt/0102-increase-the-ext4-default-commit-age.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Mon, 11 Jan 2016 10:01:44 -0600 | ||
4 | Subject: [PATCH] increase the ext4 default commit age | ||
5 | |||
6 | Both the VM and EXT4 have a "commit to disk after X seconds" time. | ||
7 | Currently the EXT4 time is shorter than our VM time, which is a bit | ||
8 | suboptional, | ||
9 | it's better for performance to let the VM do the writeouts in bulk | ||
10 | rather than something deep in the journalling layer. | ||
11 | |||
12 | (DISTRO TWEAK -- NOT FOR UPSTREAM) | ||
13 | |||
14 | Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> | ||
15 | Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com> | ||
16 | --- | ||
17 | include/linux/jbd2.h | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h | ||
21 | index 578ff196b3ce..e8db44307150 100644 | ||
22 | --- a/include/linux/jbd2.h | ||
23 | +++ b/include/linux/jbd2.h | ||
24 | @@ -45,7 +45,7 @@ | ||
25 | /* | ||
26 | * The default maximum commit age, in seconds. | ||
27 | */ | ||
28 | -#define JBD2_DEFAULT_MAX_COMMIT_AGE 5 | ||
29 | +#define JBD2_DEFAULT_MAX_COMMIT_AGE 30 | ||
30 | |||
31 | #ifdef CONFIG_JBD2_DEBUG | ||
32 | /* | ||
33 | -- | ||
34 | https://clearlinux.org | ||
35 | |||