Skip to content

xfs: basic cow fork speculative preallocation

Brian Foster linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v16 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Rebased to latest for-next.
- Dropped fiemap COW fork patch.
- Added Reviewed-by tags from previous series.
v1: http://www.spinics.net/lists/linux-xfs/msg02466.html
- Rebase onto for-next (new iext lookup helpers).
- Split off speculative prealloc refactor patches into separate series.
- Prepend the COW fork fiemap patch.
- Create xfs_iomap_search_extents() helper for data/COW fork extent lookup.
- Reuse xfs_iomap_prealloc_size() to incorporate prealloc throttling.
- Added patch to reclaim cowblocks on write failure due to ENOSPC.
rfc: http://www.spinics.net/lists/linux-xfs/msg02152.html

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xfs: refactor iomap delalloc existing extent search into helperfs/xfs/xfs_iomap.c+57 -150 replies
2/5xfs: logically separate iomap range from allocation rangefs/xfs/xfs_iomap.c+21 -120 replies
3/5xfs: reuse iomap delalloc code for COW fork reservationfs/xfs/xfs_iomap.c+55 -194 replies
4/5xfs: free cowblocks and retry on buffered write ENOSPCfs/xfs/xfs_file.c+1 -01 reply
5/5xfs: implement basic COW fork speculative preallocationfs/xfs/xfs_iomap.c+83 -560 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchDarrick J. WongChristoph Hellwig
1/5R-b
2/5R-b
3/5
4/5R-b
5/5

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

Read the v2 thread

Cover letter [PATCH v2 0/5] xfs: basic cow fork speculative preallocation

Hi all,

Here's v2 of the cow fork speculative prealloc patches. No major changes here, as outlined below. Thoughts on any of this?

Brian

v2:
- Rebased to latest for-next.
- Dropped fiemap COW fork patch.
- Added Reviewed-by tags from previous series.
v1: http://www.spinics.net/lists/linux-xfs/msg02466.html
- Rebase onto for-next (new iext lookup helpers).
- Split off speculative prealloc refactor patches into separate series.
- Prepend the COW fork fiemap patch.
- Create xfs_iomap_search_extents() helper for data/COW fork extent lookup.
- Reuse xfs_iomap_prealloc_size() to incorporate prealloc throttling.
- Added patch to reclaim cowblocks on write failure due to ENOSPC.
rfc: http://www.spinics.net/lists/linux-xfs/msg02152.html

Brian Foster (5):
xfs: refactor iomap delalloc existing extent search into helper
xfs: logically separate iomap range from allocation range
xfs: reuse iomap delalloc code for COW fork reservation
xfs: free cowblocks and retry on buffered write ENOSPC
xfs: implement basic COW fork speculative preallocation

 fs/xfs/xfs_file.c  |   1 +
 fs/xfs/xfs_iomap.c | 270 +++++++++++++++++++++++++++++++++++++----------------
 2 files changed, 193 insertions(+), 78 deletions(-)
Signature · 1 line
2.7.4