fix up indlen reservations on extent split
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyIn review
- v23 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Drop RFC from test instrumentation patch.
- Update test instrumentation patch to use inline helper and compile more out in !DEBUG mode.
- Split block borrowing patch into 2 patches.
v2: http://oss.sgi.com/pipermail/xfs/2016-February/047300.html
- Rebase to latest for-next branch.
- Include RFC test instrumentation patch.
v1: http://oss.sgi.com/archives/xfs/2014-10/msg00294.html
- 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 v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | xfs: debug mode forced buffered write failurefs/ fs/ fs/ | +101 | 1 reply | |
| 2/4 | xfs: update freeblocks counter after extent deletionfs/ | +34 | 0 replies | |
| 3/4 | xfs: refactor delalloc indlen reservation split into helperfs/ | +58 | 0 replies | |
| 4/4 | xfs: borrow indirect blocks from freed extent when availablefs/ | +36 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] fix up indlen reservations on extent split
Hi all,
Here's v3 of the delalloc indlen reservation fix. This version incorporates Christoph's review feedback from v2. The test instrumentation patch is updated to better compile out bits in !DEBUG mode and patch 3/3 from v2 is split into two patches. The first refactors the code and creates the new helper. The second updates the mechanism to implement block borrowing from the data extent.
As a note, I investigated burying the DEBUG mode stuff down in xfs_get_blocks(). The hope was that we could artificially mark the buffers as new to maintain the aggressive block tossing behavior, but as it turns out, the buffer_new() state is not returned out of that context. __block_write_begin() zeroes and clears any new buffers in the event of an error. This does raise the question of how relevant the buffer_new() checks are in xfs_vm_write_failed(), but that's a separate issue.
Thoughts, reviews, flames appreciated.
Brian
v3:
- Drop RFC from test instrumentation patch.
- Update test instrumentation patch to use inline helper and compile more out in !DEBUG mode.
- Split block borrowing patch into 2 patches.
v2: http://oss.sgi.com/pipermail/xfs/2016-February/047300.html
- Rebase to latest for-next branch.
- Include RFC test instrumentation patch.
v1: http://oss.sgi.com/archives/xfs/2014-10/msg00294.html
- 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 (4):
xfs: debug mode forced buffered write failure
xfs: update freeblocks counter after extent deletion
xfs: refactor delalloc indlen reservation split into helper
xfs: borrow indirect blocks from freed extent when available
fs/xfs/libxfs/xfs_bmap.c | 161 ++++++++++++++++++++++++++++++++++------------- fs/xfs/xfs_aops.c | 9 ++- fs/xfs/xfs_mount.h | 25 ++++++++ fs/xfs/xfs_sysfs.c | 78 ++++++++++++++++++++--- 4 files changed, 219 insertions(+), 54 deletions(-)
Signature · 6 lines
2.4.3 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs