aboutsummaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-03-02 01:54:17 -0500
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:09:55 -0400
commite84face6f0c9512d896eb1bf6c8238ea2fa7edd0 (patch)
tree802f0dde21c3311cf7a0245f379e0f1d2450bc29 /io_uring
parentbcachefs: Improve error message for stripe block sector counts wrong (diff)
downloadlinux-e84face6f0c9512d896eb1bf6c8238ea2fa7edd0.tar.gz
linux-e84face6f0c9512d896eb1bf6c8238ea2fa7edd0.tar.bz2
linux-e84face6f0c9512d896eb1bf6c8238ea2fa7edd0.zip
bcachefs: RESERVE_stripe
Rework stripe creation path - new algorithm for deciding when to create new stripes or reuse existing stripes. We add a new allocation watermark, RESERVE_stripe, above RESERVE_none. Then we always try to create a new stripe by doing RESERVE_stripe allocations; if this fails, we reuse an existing stripe and allocate buckets for it with the reserve watermark for the given write (RESERVE_none or RESERVE_movinggc). Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions