Skip to content

btrfs async discard fixes & improvements

Pavel Begunkov linux-btrfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v23 patches 1 replySuperseded
  3. v12 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: fix async discard stallfs/btrfs/discard.c+10 -70 replies
2/3btrfs: fix racy access to discard_ctl datafs/btrfs/discard.c+3 -70 replies
3/3btrfs: don't overabuse discard lockfs/btrfs/discard.c+23 -200 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 for-next 0/3] btrfs async discard fixes & improvements

Fix async discard stalls with the first patch, and address other minor things.

v2: fix async discard stalls, see patch [1/3]
v3: if now == bg->discard_eligible_time it fails to init discard state,

    and index. Always init it if peek return !=NULL bg, it's more
    resilient.

Pavel Begunkov (3):
btrfs: fix async discard stall
btrfs: fix racy access to discard_ctl data
btrfs: don't overabuse discard lock

 fs/btrfs/discard.c | 70 ++++++++++++++++++++++++----------------------
 1 file changed, 36 insertions(+), 34 deletions(-)
Signature · 1 line
2.24.0