diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-07 19:58:57 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-08 03:04:55 +0200 |
commit | cecf72798b25fcb00303392407fccf500a746747 (patch) | |
tree | c17a5f02f5f59c1a3af3ddf2355162659e66f3cb /fs/bcachefs/bcachefs.h | |
parent | bcachefs: Add missing path_traverse() to btree_iter_next_node() (diff) | |
download | linux-cecf72798b25fcb00303392407fccf500a746747.tar.xz linux-cecf72798b25fcb00303392407fccf500a746747.zip |
bcachefs: Make allocator stuck timeout configurable, ratelimit messages
Limit these messages to once every 2 minutes to avoid spamming logs;
with multiple devices the output can be quite significant.
Also, up the default timeout to 30 seconds from 10 seconds.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r-- | fs/bcachefs/bcachefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h index 91361a167dcd..eedf2d6045e7 100644 --- a/fs/bcachefs/bcachefs.h +++ b/fs/bcachefs/bcachefs.h @@ -893,6 +893,8 @@ struct bch_fs { struct bch_fs_usage_base __percpu *usage; u64 __percpu *online_reserved; + unsigned long allocator_last_stuck; + struct io_clock io_clock[2]; /* JOURNAL SEQ BLACKLIST */ |