Skip to content

Fix up some stupid delayed ref flushing behaviors

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: set delayed_refs.flushing for the first delayed ref flushingfs/btrfs/transaction.c+7 -70 replies
2/5btrfs: delayed refs pre-flushing should only run the heads we havefs/btrfs/extent-tree.c+1 -11 reply
3/5btrfs: only run delayed refs once before committingfs/btrfs/transaction.c+0 -61 reply
4/5btrfs: run delayed refs less often in commit_cowonly_rootsfs/btrfs/transaction.c+0 -121 reply
5/5btrfs: stop running all delayed refs during snapshotfs/btrfs/transaction.c+12 -111 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchNikolay Borisov
1/5
2/5R-b
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Fix up some stupid delayed ref flushing behaviors

While debugging Zygo's delayed ref problems it was clear there were a bunch of cases that we're running delayed refs when we don't need to be, and they result in a lot of weird latencies.

Each patch has their individual explanations. But the gist of it is we run delayed refs in a lot of arbitrary ways that have just accumulated throughout the years, so clean up all of these so we can have more consistent performance. Thanks,

Josef