Skip to content

RFC A small improvement in the allocation algorithm

Carlos Maiolino linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfs: cap longest free extent to maximum allocatablefs/xfs/libxfs/xfs_alloc.c+2 -12 replies
2/2xfs: Limit total allocation request to maximum possiblefs/xfs/libxfs/xfs_bmap.c+5 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/2] A small improvement in the allocation algorithm

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(-)
Signature · 1 line
2.20.1