diff options
Diffstat (limited to 'libbcachefs/alloc.c')
-rw-r--r-- | libbcachefs/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/alloc.c b/libbcachefs/alloc.c index 3f43a1be..d303ecee 100644 --- a/libbcachefs/alloc.c +++ b/libbcachefs/alloc.c @@ -610,7 +610,7 @@ static unsigned long bucket_sort_key(struct bch_fs *c, struct bch_dev *ca, return (data_wantness << 9) | (needs_journal_commit << 8) | - bucket_gc_gen(ca, b); + (bucket_gc_gen(ca, b) / 16); } static inline int bucket_alloc_cmp(alloc_heap *h, |