diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-11-01 18:06:44 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-11-01 18:06:44 +0000 |
commit | ad4e4ae591ec267918ac74bbd158626d4961b0f8 (patch) | |
tree | b2555614c30b28cf6ba0cdd79f59f85edf40599f /sys/boot/efi | |
parent | ba5fc4cf786cc4c33b574a8ee54e277dbf6cbd47 (diff) |
Restore an optimization that was temporary disabled by r324665.
In reclaim_pv_chunk(), rotate the pv chunks list so that next
invocations of the reclaim do not scan the same pv chunks that could
not be freed. Only do the rotation when there is no parallel scan,
tracked by active_reclaims counter.
To rotate, move all chunks that are before current iteration marker,
after another marker that is inserted at the list tail on start of the
reclaim.
Reviewed by: alc
Tested by: pho (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=325285
Diffstat (limited to 'sys/boot/efi')
0 files changed, 0 insertions, 0 deletions