]> www.infradead.org Git - users/willy/pagecache.git/commit
bcachefs: Increase size of cuckoo hash table on too many rehashes
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 15 Aug 2024 17:02:55 +0000 (13:02 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 16 Aug 2024 16:46:40 +0000 (12:46 -0400)
commitc2f6e16a6771eaefba6bb35f6803fe7217822d41
tree9297d2fd01df13846a07f053db2e713ae51dbf3e
parent58474f76a770bcc79d4b2d7232e4d6650e732b50
bcachefs: Increase size of cuckoo hash table on too many rehashes

Also, improve the calculation of the new table size, so that it can
shrink when needed.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/buckets_waiting_for_journal.c