[v2,0/2] xfs: rely on minleft instead of total for bmbt res
mbox series

Message ID 20191021121322.25659-1-bfoster@redhat.com
Headers show
Series
  • xfs: rely on minleft instead of total for bmbt res
Related show

Message

Brian Foster Oct. 21, 2019, 12:13 p.m. UTC
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/20190918082453.25266-2-cmaiolino@redhat.com/
[2] https://lore.kernel.org/linux-xfs/20190914220035.GY16973@dread.disaster.area/
[3] https://lore.kernel.org/linux-xfs/20190912143223.24194-3-bfoster@redhat.com/

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(-)