Skip to content

btrfs: Don't block suspend during fstrim

Luca Stefani linux-block linux-btrfs lkml llvm oe-kbuild-all 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest0 of 2 patches 0 repliesNew
  2. v23 patches 5 repliesSuperseded
  3. v11 patch 9 repliesSuperseded

Changes in v3 from the cover letter

* Use blk_alloc_discard_bio directly
* Reset ret to ERESTARTSYS

Patches in v3 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchQu Wenruo
SeriesR-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] btrfs: Don't block suspend during fstrim

Changes since v2:
* Use blk_alloc_discard_bio directly
* Reset ret to ERESTARTSYS

Changes since v1:
* Use bio_discard_limit to calculate chunk size
* Makes use of the split chunks

v1: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]/
Original discussion: https://lore.kernel.org/lkml/[email protected]/

Luca Stefani (3):
btrfs: Always update fstrim_range on failure
btrfs: Split remaining space to discard in chunks
btrfs: Don't block system suspend during fstrim

 fs/btrfs/extent-tree.c | 52 +++++++++++++++++++++++++++++++++++-------
 fs/btrfs/ioctl.c       |  4 +---
 2 files changed, 45 insertions(+), 11 deletions(-)
Signature · 1 line
2.46.0