xfs: Fast zeroing of allocated space
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: use range primitives for xfs page cache operationsfs/ | +15 | 1 reply | |
| 2/2 | xfs: Introduce XFS_IOC_ZERO_RANGEfs/ fs/ fs/ +3 more | +27 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/2 | R-b |
| 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 0/2] xfs: Fast zeroing of allocated space
These two patches allow conversion of a written range of a file into back into unwritten state. The first patch converts page cache helper functions to use the correct range primitives as we need to be able to toss (invalidate) pages only within the range specified, not to to the end of the file as it currently uses.
The actual conversion also preallocates any holes in the range, so it turns the entire range requested into allocated, unwritten extents.
Version 2:
o removed stray debugging printks
o truncate_inode_pages_range doesn't handle partial tail pages, so the range needs to be tossed appropriately.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs