[Top] [All Lists]

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

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/2] fix up indlen reservations on extent split
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Tue, 14 Oct 2014 17:59:13 -0400
Delivered-to: xfs@xxxxxxxxxxx
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).


- 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(-)


<Prev in Thread] Current Thread [Next in Thread>