]> www.infradead.org Git - users/hch/configfs.git/commit
bcachefs: Make allocator stuck timeout configurable, ratelimit messages
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 7 Aug 2024 17:58:57 +0000 (13:58 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 8 Aug 2024 01:04:55 +0000 (21:04 -0400)
commitcecf72798b25fcb00303392407fccf500a746747
treec17a5f02f5f59c1a3af3ddf2355162659e66f3cb
parent6d496e02b4a70926c3bd4e7ab6249ff262eb3bc0
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>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/alloc_foreground.h
fs/bcachefs/bcachefs.h
fs/bcachefs/bcachefs_format.h
fs/bcachefs/io_misc.c
fs/bcachefs/io_write.c
fs/bcachefs/opts.h
fs/bcachefs/super-io.c