diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-01-09 01:45:18 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:52 -0400 |
commit | c782c5832e9251ab6f4df837932d959f3e02ab25 (patch) | |
tree | 54e8cb355959a6015c6bcead74df1b0cb2a95038 /fs/bcachefs/move.h | |
parent | 01efebd8f13c41341754a2f0b431aa81209f8f30 (diff) |
bcachefs: Add max nr of IOs in flight to the move path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move.h')
-rw-r--r-- | fs/bcachefs/move.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; |