Skip to content

fix up indlen reservations on extent split

Brian Foster linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Changes in v1 from the cover letter

- xfs_bunmapi() code into independent patch.
- Refactor fix into separate helper function.
rfc: http://oss.sgi.com/archives/xfs/2014-09/msg00337.html

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: update icsb freeblocks counter after extent deletionfs/xfs/libxfs/xfs_bmap.c+35 -240 replies
2/2xfs: borrow indirect blocks from freed extent when availablefs/xfs/libxfs/xfs_bmap.c+81 -190 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] fix up indlen reservations on extent split

Hi all,

Here's a couple patches to fix up the indirect block reservation problem when splitting delalloc extents, described in more detail in the patch 2 commit log.

This runs through xfstests without any explosions and quiets down generic/033 when used in combination with the zero range rework (current for-next includes the writeback on zero range workaround that also prevents generic/033 asserts).

Brian

v1:
- xfs_bunmapi() code into independent patch.
- Refactor fix into separate helper function.
rfc: http://oss.sgi.com/archives/xfs/2014-09/msg00337.html

Brian Foster (2):
xfs: update icsb freeblocks counter after extent deletion
xfs: borrow indirect blocks from freed extent when available

 fs/xfs/libxfs/xfs_bmap.c | 159 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 116 insertions(+), 43 deletions(-)
Signature · 6 lines
1.8.3.1

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs