Skip to content

Fix ENOSPC regression

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Btrfs: do transaction space reservation before joining the transactionfs/btrfs/ctree.h fs/btrfs/extent-tree.c fs/btrfs/transaction.c+17 -420 replies
2/2Btrfs: serialize flushers in reserve_metadata_bytesfs/btrfs/ctree.h fs/btrfs/extent-tree.c+49 -235 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix ENOSPC regression

Sergei accidently introduced a regression with

c4f675cd40d955d539180506c09515c90169b15b

The problem isn't his patch, it's that we are entirely too touchy to changes in this area because the way we deal with pressure is racy in general. The other problem is even though delalloc bytes are 0, we still may not have reclaimed space, rather we need to wait for the ordered extents to reclaim the space. So this patch set does that and it serialize the flushers to close this race we've always had. This fixes normal enospc cases we were seeing. Thanks,

Josef