mirror of
https://github.com/Zygo/bees.git
synced 2025-07-01 00:02:27 +02:00
bees: post-kernel-5.7 toxic extent handling
Toxic extents are mostly gone in kernel 5.7 and later. Increase the timeout for toxic extent handling to reduce false positives, and remove persistenly stored toxic hashes from the hash table. Toxic hashes are still stored nonpersistently to help mitigate problems due to any remaining kernel bugs. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -93,7 +93,7 @@ const double BEES_DEFAULT_THREAD_FACTOR = 1.0;
|
||||
const double BEES_TOO_LONG = 5.0;
|
||||
|
||||
// Avoid any extent where LOGICAL_INO takes this much kernel CPU time
|
||||
const double BEES_TOXIC_SYS_DURATION = 0.1;
|
||||
const double BEES_TOXIC_SYS_DURATION = 5.0;
|
||||
|
||||
// Maximum number of refs to a single extent before we have other problems
|
||||
// If we have more than 10K refs to an extent, adding another will save 0.01% space
|
||||
|
Reference in New Issue
Block a user