Commit abab7609 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_extent_fallocate() in nocow mode



When we allocate disk space, we need to be incrementing the WRITE io
clock, which perhaps should be renamed to sectors allocated - copygc
uses this io clock to know when to run.

Also, we should be incrementing the same clock when allocating btree
nodes.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 711bf946
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment