aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorOjaswin Mujoo <[email protected]>2025-03-18 07:52:57 +0000
committerTheodore Ts'o <[email protected]>2025-03-21 05:12:33 +0000
commit896b02d0b9e7deb4a4eb365e13dd912b49916519 (patch)
treeeac5a0e9eed99f4fe0500ef0e9c9d151912f39e1 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentext4: avoid journaling sb update on error if journal is destroying (diff)
downloadkernel-896b02d0b9e7deb4a4eb365e13dd912b49916519.tar.gz
kernel-896b02d0b9e7deb4a4eb365e13dd912b49916519.zip
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 <[email protected]> Reviewed-by: Ritesh Harjani (IBM) <[email protected]> Reviewed-by: Baokun Li <[email protected]> Signed-off-by: Ojaswin Mujoo <[email protected]> Link: https://patch.msgid.link/950fb8c9b2905620e16f02a3b9eeea5a5b6cb87e.1742279837.git.ojaswin@linux.ibm.com Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions