Skip to content

xfs: rely on minleft instead of total for bmbt res

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 Latest2 patches 3 repliesIn review
  2. v12 patches 14 repliesSuperseded

Changes in v2 from the cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: cap longest free extent to maximum allocatablefs/xfs/libxfs/xfs_alloc.c fs/xfs/libxfs/xfs_bmap.c+11 -101 reply
2/2xfs: don't set bmapi total block req where minleft is sufficientfs/xfs/libxfs/xfs_bmap.c fs/xfs/xfs_bmap_util.c fs/xfs/xfs_dquot.c +3 more+9 -112 replies

Reviews trailers per patch

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

PatchDarrick J. Wong
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 v2 thread

Cover letter [PATCH v2 0/2] xfs: rely on minleft instead of total for bmbt res

This is a v2 that is a combination of two series. Patch 1 is Carlos' and Dave's patch [1] (that replaces my original patch 1) with an additional modification based on discussion with Dave [2] in the original v1 post of this series. Patch 2 is a repost from my previous v1 [3].

Note that this combination of changes is currently untested AFAIA. I'm planning to run through some tests today and will report back on any issues...

Brian

v2:
- Added xfs_bmap_btalloc() changes to patch 1.

[1] https://lore.kernel.org/linux-xfs/[email protected]/
[2] https://lore.kernel.org/linux-xfs/[email protected]/
[3] https://lore.kernel.org/linux-xfs/[email protected]/

Brian Foster (1):
xfs: don't set bmapi total block req where minleft is sufficient

Dave Chinner (1):
xfs: cap longest free extent to maximum allocatable

 fs/xfs/libxfs/xfs_alloc.c |  3 ++-
 fs/xfs/libxfs/xfs_bmap.c  | 19 +++++++++----------
 fs/xfs/xfs_bmap_util.c    |  4 ++--
 fs/xfs/xfs_dquot.c        |  4 ++--
 fs/xfs/xfs_iomap.c        |  4 ++--
 fs/xfs/xfs_reflink.c      |  4 ++--
 fs/xfs/xfs_rtalloc.c      |  3 +--
 7 files changed, 20 insertions(+), 21 deletions(-)
Signature · 1 line
2.20.1