Commit 00dcd17
xfs: restore allocation trylock iteration
It was accidentally dropped when refactoring the allocation code,
resulting in the AG iteration always doing blocking AG iteration.
This results in a small performance regression for a specific fsmark
test that runs more user data writer threads than there are AGs.
Reported-by: kernel test robot <oliver.sang@intel.com>
Fixes: 2edf06a ("xfs: factor xfs_alloc_vextent_this_ag() for _iterate_ags()")
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>1 parent 89a4bf0 commit 00dcd17
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3187 | 3187 | | |
3188 | 3188 | | |
3189 | 3189 | | |
3190 | | - | |
| 3190 | + | |
| 3191 | + | |
3191 | 3192 | | |
3192 | 3193 | | |
3193 | 3194 | | |
| |||
3196 | 3197 | | |
3197 | 3198 | | |
3198 | 3199 | | |
3199 | | - | |
| 3200 | + | |
3200 | 3201 | | |
3201 | 3202 | | |
3202 | 3203 | | |
| |||
3336 | 3337 | | |
3337 | 3338 | | |
3338 | 3339 | | |
3339 | | - | |
| 3340 | + | |
3340 | 3341 | | |
3341 | 3342 | | |
3342 | 3343 | | |
| |||
3380 | 3381 | | |
3381 | 3382 | | |
3382 | 3383 | | |
3383 | | - | |
| 3384 | + | |
3384 | 3385 | | |
3385 | 3386 | | |
3386 | 3387 | | |
| |||
3546 | 3547 | | |
3547 | 3548 | | |
3548 | 3549 | | |
3549 | | - | |
| 3550 | + | |
3550 | 3551 | | |
3551 | 3552 | | |
3552 | 3553 | | |
| |||
3587 | 3588 | | |
3588 | 3589 | | |
3589 | 3590 | | |
3590 | | - | |
| 3591 | + | |
3591 | 3592 | | |
3592 | 3593 | | |
3593 | 3594 | | |
| |||
0 commit comments