bcachefs: Allocate journal buckets sequentially
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 10 Mar 2022 20:49:03 +0000 (15:49 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:27 +0000 (17:09 -0400)
commitf6c92ebbb8f84ad9b993691b02d5b38736b7a922
tree50111eae443e39002194c35c012401f5b1723fbc
parentd5d3be7dc5d09f9cf8d12b3e3cefbcd8020cddae
bcachefs: Allocate journal buckets sequentially

This tweaks __bch2_set_nr_journal_buckets() so that we aren't reversing
their order in the jorunal anymore - nice for rotating disks.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/journal.c