diff options
| author | Robbie Litchfield | 2021-02-10 13:18:13 +1300 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:53 -0400 |
| commit | 0ef837a0cc87d49d9f7d29bdef5a57f07ecc84d3 (patch) | |
| tree | 7161856bca1da971b86022a113144f12cb89bfdc /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 2bb748a69596e883cf9ea28321d43f8c6a225cef (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
