diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-04 21:55:35 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:11 -0400 |
commit | b092dadd55fb242a480f81c421303a9e53302156 (patch) | |
tree | 8cef50ce499ac371476302a29d1976056efe560e /fs/bcachefs/alloc_background.h | |
parent | 72644db153e6d3fc146d2c805dcba5b5d676cd99 (diff) | |
download | lwn-b092dadd55fb242a480f81c421303a9e53302156.tar.gz lwn-b092dadd55fb242a480f81c421303a9e53302156.zip |
bcachefs: Scale down number of writepoints when low on space
this means we don't have to reserve space for them when calculating
filesystem capacity
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_background.h')
-rw-r--r-- | fs/bcachefs/alloc_background.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.h b/fs/bcachefs/alloc_background.h index 6dbabe83cab7..245e037fbaea 100644 --- a/fs/bcachefs/alloc_background.h +++ b/fs/bcachefs/alloc_background.h @@ -57,6 +57,6 @@ int bch2_dev_allocator_start(struct bch_dev *); int bch2_alloc_write(struct bch_fs *); int bch2_fs_allocator_start(struct bch_fs *); -void bch2_fs_allocator_init(struct bch_fs *); +void bch2_fs_allocator_background_init(struct bch_fs *); #endif /* _BCACHEFS_ALLOC_BACKGROUND_H */ |