aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-01-05 14:48:40 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-01-05 14:48:40 +0000
commit1041e09089dcd722ef14f51070828c9473b33984 (patch)
treeaaf96e6c5a60abfeb3a231d49e41c8d20208ccf1 /libexec
parente10c4cc0a4182ed3e5f6a4a76fc72706fa459271 (diff)
downloadsrc-1041e09089dcd722ef14f51070828c9473b33984.tar.gz
src-1041e09089dcd722ef14f51070828c9473b33984.zip
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
Notes
Notes: svn path=/head/; revision=293197
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions