View previous topic :: View next topic |
Author |
Message |
sdauth l33t
Joined: 19 Sep 2018 Posts: 650 Location: Ásgarðr
|
Posted: Thu Jun 06, 2024 2:46 am Post subject: btrfs commit interval set to wrong value |
|
|
Hello,
Just noticed this warning in my dmesg while compiling stuff :
Code: | [ 4078.393991] BTRFS warning (device dm-0: state M): excessive commit interval 600
[ 4078.588846] BTRFS warning (device dm-0: state M): excessive commit interval 600
[ 4078.715846] BTRFS warning (device dm-0: state M): excessive commit interval 600
[ 4078.812318] BTRFS warning (device dm-1: state M): excessive commit interval 600
[ 4078.893969] BTRFS warning (device dm-1: state M): excessive commit interval 600
[ 6752.596126] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[ 6753.004148] BTRFS info (device dm-0: state M): using default commit interval 30s
[ 6753.202759] BTRFS info (device dm-0: state M): using default commit interval 30s
[ 6753.421820] BTRFS info (device dm-0: state M): using default commit interval 30s
[ 6753.603365] BTRFS info (device dm-1: state M): using default commit interval 30s
[ 6753.722112] BTRFS info (device dm-1: state M): using default commit interval 30s |
the mount command returns :
Code: | /dev/mapper/enc_root on / type btrfs (rw,relatime,ssd,discard=async,space_cache=v2,commit=600,subvolid=544,subvol=/gentoo_musl) |
fstab :
Code: | UUID=496895b2-9e66-4a7c-8824-8f79074d200a / btrfs defaults,subvol=gentoo_musl 0 0
UUID=496895b2-9e66-4a7c-8824-8f79074d200a /swap btrfs defaults,subvol=swap 0 0
/swap/swapfile none swap defaults 0 0 |
Why does the mount command return commit=600 ? As you can see, commit variable is not set in fstab, so why is it not using the default 30s value ?
Thanks
PS : kernel 6.6.30 / gentoo musl hardened |
|
Back to top |
|
|
sdauth l33t
Joined: 19 Sep 2018 Posts: 650 Location: Ásgarðr
|
Posted: Thu Jun 06, 2024 5:12 pm Post subject: |
|
|
This is strange, when I start the system and runs mount command, the commit variable doesn't appear. (default value is used, all good)
Code: | /dev/mapper/enc_root on / type btrfs (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=544,subvol=/gentoo_musl) |
But when the system is under heavy load (with lot of writes), then "excessive commit interval" warning is triggered :
Code: | BTRFS warning (device dm-0: state M): excessive commit interval 600 |
then fallback to default
Code: | BTRFS info (device dm-0: state M): using default commit interval 30s |
How is it possible ? Legit bug ?
I ran a scrub on the btrfs fs, no issue. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|