Skip to content

fixes for btrfs async discards

Pavel Begunkov linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs: discard: speed up discard up to iops_limitfs/btrfs/discard.c+5 -58 replies
2/4btrfs: discard: save discard delay as ns not jiffyfs/btrfs/ctree.h fs/btrfs/discard.c+8 -84 replies
3/4btrfs: don't miss discards after override-schedulefs/btrfs/ctree.h fs/btrfs/discard.c+12 -02 replies
4/4btrfs: discard: reschedule work after param updatefs/btrfs/sysfs.c+3 -21 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJosef Bacik
1/4R-b
2/4R-b
3/4R-b
4/4R-b

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/4] fixes for btrfs async discards

Several fixes for async discards. The first patch might increase discard rate, drastically in some cases. That may be a suprise for those assuming that hitting iops_limit is rare and rarther outliers. Though, it still stays in allowed range, so should be fine.

Pavel Begunkov (4):
btrfs: discard: speed up discard up to iops_limit
btrfs: discard: save discard delay as ns not jiffy
btrfs: don't miss discards after override-schedule
btrfs: discard: reschedule work after param update

 fs/btrfs/ctree.h   |  3 ++-
 fs/btrfs/discard.c | 35 +++++++++++++++++++++++------------
 fs/btrfs/sysfs.c   |  5 +++--
 3 files changed, 28 insertions(+), 15 deletions(-)
Signature · 1 line
2.24.0