RFC xfs: Fast zeroing of allocated space
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 4 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/ | +10 | 2 replies | |
| 2/2 | xfs: Introduce XFS_IOC_ZERO_RANGEfs/ fs/ fs/ +3 more | +32 | 1 reply |
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 | Alex Elder |
|---|---|
| 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 [RFC, 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.
I also have a patch that adds this functionality to fallocate(). I haven't tested that at all, but if this is something we want to support, I'd suggest that we want fallocate to be able to do it...
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs