mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
bees: revert TOXIC_INTERVAL back to pre-4.14 levels
Linux kernel 4.14, while resistant to extent toxicity, is not immune to it. Go back to the paranoid setting to avoid tying up filesystems in ridiculously long kernel loops in find_parent_nodes. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
26039cd559
commit
f8c27f5c6a
@ -89,9 +89,10 @@ const double BEES_DEFAULT_THREAD_FACTOR = 1.0;
|
||||
const double BEES_TOO_LONG = 5.0;
|
||||
|
||||
// Avoid any extent where LOGICAL_INO takes this long
|
||||
// const double BEES_TOXIC_DURATION = 9.9;
|
||||
const double BEES_TOXIC_DURATION = 9.9;
|
||||
// EXPERIMENT: Kernel v4.14+ may let us ignore toxicity
|
||||
const double BEES_TOXIC_DURATION = 99.9;
|
||||
// NOPE: kernel 4.14 has the same toxicity problems as any previous kernel
|
||||
// const double BEES_TOXIC_DURATION = 99.9;
|
||||
|
||||
// How long between hash table histograms
|
||||
const double BEES_HASH_TABLE_ANALYZE_INTERVAL = BEES_STATS_INTERVAL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user