summaryrefslogtreecommitdiff
path: root/fs/bcachefs/clock_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-12-19 23:07:51 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:33 +0300
commit5873efbfd9c3f53312aaa6c3024592a2a344f615 (patch)
tree3e7b0e642b152359825b76b9861109c4dcd73363 /fs/bcachefs/clock_types.h
parent187c71f6ab439582c80433ef9e04f615b8c0f576 (diff)
downloadlinux-5873efbfd9c3f53312aaa6c3024592a2a344f615.tar.xz
bcachefs: Make io timers less buggy
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/clock_types.h')
-rw-r--r--fs/bcachefs/clock_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/clock_types.h b/fs/bcachefs/clock_types.h
index 2b5e499e12b4..92c740a47565 100644
--- a/fs/bcachefs/clock_types.h
+++ b/fs/bcachefs/clock_types.h
@@ -28,6 +28,7 @@ typedef HEAP(struct io_timer *) io_timer_heap;
struct io_clock {
atomic_long_t now;
u16 __percpu *pcpu_buf;
+ unsigned max_slop;
spinlock_t timer_lock;
io_timer_heap timers;