diff options
author | Ojaswin Mujoo <ojaswin@linux.ibm.com> | 2025-03-18 10:52:57 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-03-21 08:12:33 +0300 |
commit | 896b02d0b9e7deb4a4eb365e13dd912b49916519 (patch) | |
tree | eac5a0e9eed99f4fe0500ef0e9c9d151912f39e1 /rust/helpers/mutex.c | |
parent | ce2f26e73783b4a7c46a86e3af5b5c8de0971790 (diff) | |
download | linux-896b02d0b9e7deb4a4eb365e13dd912b49916519.tar.xz |
ext4: Make sb update interval tunable
Currently, outside error paths, we auto commit the super block after 1
hour has passed and 16MB worth of updates have been written since last
commit. This is a policy decision so make this tunable while keeping the
defaults same. This is useful if user wants to tweak the superblock
behavior or for debugging the codepath by allowing to trigger it more
frequently.
We can now tweak the super block update using sb_update_sec and
sb_update_kb files in /sys/fs/ext4/<dev>/
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Link: https://patch.msgid.link/950fb8c9b2905620e16f02a3b9eeea5a5b6cb87e.1742279837.git.ojaswin@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions