]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Remove hardcoded checkpoint interval checking
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Thu, 18 Jan 2024 10:30:15 +0000 (11:30 +0100)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 20 Feb 2024 13:04:32 +0000 (14:04 +0100)
commitaec3b907de48be54106600a1ecb69d1231f4801d
treee14cc429355557bf279106f1f586b56aded487a5
parentd709d4161d1dd51a976147e8372fbd99ff8183bd
Remove hardcoded checkpoint interval checking

Mdmon assumes that kernel marks checkpoint every 1/16 of the volume size
and that the checkpoints are equal in size. This is not true, kernel may
mark checkpoints more frequently depending on several factors, including
sync speed. This results in checkpoints reported by mdadm --examine
falling behind the one reported by kernel.

Remove hardcoded checkpoint interval checking.

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
monitor.c