diff options
author | kib <kib@FreeBSD.org> | 2016-01-05 14:48:40 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-01-05 14:48:40 +0000 |
commit | 8c46f725d5083f7e2c52a22367c441fc217ca7b1 (patch) | |
tree | aaf96e6c5a60abfeb3a231d49e41c8d20208ccf1 /contrib/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp | |
parent | 07c911dcef090c33c0aa41d22c8edbba95385f20 (diff) | |
download | FreeBSD-src-8c46f725d5083f7e2c52a22367c441fc217ca7b1.zip FreeBSD-src-8c46f725d5083f7e2c52a22367c441fc217ca7b1.tar.gz |
Two fixes for excessive iterations after r292326.
Advance the logical block number to the lblkno of the found block plus
one, instead of incrementing the block number which was used for
lookup. This change skips sparcely populated buffer ranges, similar
to r292325, instead of doing useless lookups.
Do not restart the bnoreuselist() from the start of the range if
buffer lock cannot be obtained without sleep. Only retry lookup and
lock for the same queue and same logical block number.
Reported by: benno
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Diffstat (limited to 'contrib/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp')
0 files changed, 0 insertions, 0 deletions