From c782c5832e9251ab6f4df837932d959f3e02ab25 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 9 Jan 2023 01:45:18 -0500 Subject: bcachefs: Add max nr of IOs in flight to the move path Signed-off-by: Kent Overstreet --- fs/bcachefs/move.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/bcachefs/move.h') diff --git a/fs/bcachefs/move.h b/fs/bcachefs/move.h index 34b9cadef6b5..aef613802935 100644 --- a/fs/bcachefs/move.h +++ b/fs/bcachefs/move.h @@ -24,6 +24,8 @@ struct moving_context { /* in flight sectors: */ atomic_t read_sectors; atomic_t write_sectors; + atomic_t read_ios; + atomic_t write_ios; wait_queue_head_t wait; }; -- cgit v1.2.3