Message ID | 173214768464.2957437.13487208103941199940.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/1] xfs: Reduce unnecessary searches when searching for the best extents | expand |
diff --git a/libxfs/xfs_alloc.c b/libxfs/xfs_alloc.c index 61453709ae515c..f0635b17f18548 100644 --- a/libxfs/xfs_alloc.c +++ b/libxfs/xfs_alloc.c @@ -1919,7 +1919,7 @@ xfs_alloc_ag_vextent_size( error = -EFSCORRUPTED; goto error0; } - if (flen < bestrlen) + if (flen <= bestrlen) break; busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno, &rlen, &busy_gen);