Robbie Litchfield
0ef837a0cc
bcachefs: Fix unnecessary read amplificaiton when allocating ec stripes
...
When allocating an erasure coding stripe, bcachefs will always reuse any
partial stripes before reserving a new stripe. This causes unnecessary
read amplification when preparing a stripe for writing. This patch changes
bcachefs to always reserve new stripes first, only relying on stripe reuse
when copygc needs more time to empty buckets from existing stripes.
Signed-off-by: Robbie Litchfield <blam.kiwi@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:08:53 -04:00
..
2023-10-22 17:08:33 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:47 -04:00
2023-10-22 17:08:37 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:32 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:45 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:34 -04:00
2023-10-22 17:08:34 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:45 -04:00
2023-10-22 17:08:39 -04:00
2023-10-22 17:08:33 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:51 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:51 -04:00
2023-10-22 17:08:41 -04:00
2023-10-22 17:08:49 -04:00
2023-10-22 17:08:51 -04:00
2023-10-22 17:08:36 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:16 -04:00
2023-10-22 17:08:45 -04:00
2023-10-22 17:08:33 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:08:44 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:49 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:21 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:51 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:49 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:51 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:51 -04:00
2023-10-22 17:08:47 -04:00
2023-10-22 17:08:40 -04:00
2023-10-22 17:08:40 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:40 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:45 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:42 -04:00
2023-10-22 17:08:45 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:08:39 -04:00
2023-10-22 17:08:14 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:45 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:44 -04:00
2023-10-22 17:08:53 -04:00
2023-10-22 17:08:49 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:08:50 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:46 -04:00
2023-10-22 17:08:44 -04:00
2023-10-22 17:08:12 -04:00