btrfs: defrag related to corncer case handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: defrag: break the loop early in defrag_get_extent()fs/ | +9 | 0 replies | |
| 2/2 | btrfs: defrag: fix missed extent when the lookup lands on the next inodefs/ | +8 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Filipe Manana |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: defrag related to corncer case handling
The first one is a Sashiko report that we can step into the next inode and continue looping unnecessarily. Fix it by re-ordering the checks.
The second one is another minor corner case where if the defrag range starts inside the last extent, we may skip a valid defrag target. Fix it by doing the backward search properly.
Qu Wenruo (2):
btrfs: defrag: break the loop early in defrag_get_extent()
btrfs: defrag: fix missed extent when the lookup lands on the next
inode
fs/btrfs/defrag.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-)
Signature · 1 line
2.56.0