mbox series

[RFC,0/2] A small improvement in the allocation algorithm

Message ID 20190918082453.25266-1-cmaiolino@redhat.com (mailing list archive)
Headers show
Series A small improvement in the allocation algorithm | expand

Message

Carlos Maiolino Sept. 18, 2019, 8:24 a.m. UTC
This is totally based on the discussion between Brian, Dave and me regarding the
issues we have on the allocation mechanism, and this patchset is just used to
put the ideas together.

Dave, this is a small improvement based on your hack on your original patch, to
'fix' the total number. And based on my last reply to the thread

It still does need improvement, and I need to check the math, but I think we
should maybe start here.

I just removed the hack from your patch, and moved the args.total fix to the 2nd
patch.

What you guys think about it?

Carlos Maiolino (1):
  xfs: Limit total allocation request to maximum possible

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

 fs/xfs/libxfs/xfs_alloc.c | 3 ++-
 fs/xfs/libxfs/xfs_bmap.c  | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)