btrfs: trim enhancement to allow btrfs really trim block groups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 5 repliesIn review
- v1 posting 3/32 patches 0 repliesSuperseded
- v1 posting 2/31 of 2 patches 1 replySuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 of 2 patches | 0 replies | Superseded | |
| v1 posting 1/3 | 1 patch | 3 replies | Superseded |
Changes in v3 from the cover letter
Rebase to v4.19-rc1.
Change back message level from debug to warning since it's less noisy and will only report total failed bgs and devices.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: Enhance btrfs_trim_fs function to handle error betterfs/ | +41 | 4 replies | |
| 2/2 | btrfs: Ensure btrfs_trim_fs can trim the whole fsfs/ fs/ | +8 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Nikolay Borisov |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] btrfs: trim enhancement to allow btrfs really trim block groups
This patchset can be fetched from github:
https://github.com/adam900710/linux/tree/trim_fix
Which is based on v4.19-rc1 tag.
This patchset introduces 2 enhancement, one to output better error messages during trim, the other one is to ensure we could really trim block groups if logical bytenr of block groups are beyond physical device size.
These two patches are in the wild for a long time, and are pretty small and the 2nd patch in facts fix a regression, and we already have test case for it (btrfs/156).
Changelog:
v2:
Only report total number of errors and first errno to make it less noisy.
Change message level from warning to debug
v3:
Rebase to v4.19-rc1.
Change back message level from debug to warning since it's less noisy and will only report total failed bgs and devices.
Qu Wenruo (2):
btrfs: Enhance btrfs_trim_fs function to handle error better
btrfs: Ensure btrfs_trim_fs can trim the whole fs
fs/btrfs/extent-tree.c | 67 ++++++++++++++++++++++++++---------------- fs/btrfs/ioctl.c | 11 ++++--- 2 files changed, 49 insertions(+), 29 deletions(-)
Signature · 1 line
2.18.0