Skip to content

xfs: Fast zeroing of allocated space

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: use range primitives for xfs page cache operationsfs/xfs/linux-2.6/xfs_fs_subr.c+15 -161 reply
2/2xfs: Introduce XFS_IOC_ZERO_RANGEfs/xfs/linux-2.6/xfs_ioctl.c fs/xfs/linux-2.6/xfs_ioctl32.c fs/xfs/xfs_bmap.c +3 more+27 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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