diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-03-28 06:45:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-22 00:44:18 -0400 |
commit | 9aea445fd70609f178ec5aedc1f4572af7ca24a9 (patch) | |
tree | 2e34105d14ef01d7d064fa024f74c6e86b57de6d | |
parent | ac32c4573cbe13fe8db1cc5043d7c84dc2fa93ac (diff) |
bcachefs: increase max nr of io timers
this fixes a BUG_ON() when running with too many devices
-rw-r--r-- | fs/bcachefs/clock_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/clock_types.h b/fs/bcachefs/clock_types.h index bfd4b3030e35..df404b6dd3fe 100644 --- a/fs/bcachefs/clock_types.h +++ b/fs/bcachefs/clock_types.h @@ -3,7 +3,7 @@ #include "util.h" -#define NR_IO_TIMERS 8 +#define NR_IO_TIMERS (BCH_SB_MEMBERS_MAX * 3) /* * Clocks/timers in units of sectors of IO: |