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/opts.h | |
parent | 01efebd8f13c41341754a2f0b431aa81209f8f30 (diff) | |
download | linux-stable-c782c5832e9251ab6f4df837932d959f3e02ab25.tar.gz linux-stable-c782c5832e9251ab6f4df837932d959f3e02ab25.tar.bz2 linux-stable-c782c5832e9251ab6f4df837932d959f3e02ab25.zip |
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/opts.h')
-rw-r--r-- | fs/bcachefs/opts.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h index ef1b8a03f149..fc444c68025c 100644 --- a/fs/bcachefs/opts.h +++ b/fs/bcachefs/opts.h @@ -299,7 +299,12 @@ enum opt_type { OPT_HUMAN_READABLE|OPT_FS|OPT_MOUNT|OPT_RUNTIME, \ OPT_UINT(1024, U32_MAX), \ BCH2_NO_SB_OPT, 1U << 20, \ - NULL, "Amount of IO in flight to keep in flight by the move path")\ + NULL, "Maximum Amount of IO to keep in flight by the move path")\ + x(move_ios_in_flight, u32, \ + OPT_FS|OPT_MOUNT|OPT_RUNTIME, \ + OPT_UINT(1, 1024), \ + BCH2_NO_SB_OPT, 32, \ + NULL, "Maximum number of IOs to keep in flight by the move path")\ x(fsck, u8, \ OPT_FS|OPT_MOUNT, \ OPT_BOOL(), \ |