diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-03-28 06:45:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-03-28 10:37:06 -0400 |
commit | c9b388d2f0ee95392c3ed7f89df48b5730fdccb5 (patch) | |
tree | 138d6eea8a56a4ce3646625b92e94f4ae08585d4 | |
parent | 919a34d47a68f3e5f00a7ce5efb67748ec31bd62 (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: |