mariadb/storage/innobase/buf
Marko Mäkelä e0d672f30b MDEV-30089 Metrics not incremented for 1st iteration in buf_LRU_free_from_common_LRU_list()
In commit a03dd94be8 as well as
mysql/mysql-server@6ef8c34344
the iterations were changed so that the variable "scanned"
would remain 0 when the first list item qualifies for eviction.

buf_LRU_free_from_unzip_LRU_list(), buf_LRU_free_from_common_LRU_list():
Increment "scanned" when a block can be freed.

buf_LRU_free_from_common_LRU_list(): Remove a redundant condition.
Whenever this function is invoked, buf_pool.LRU should be nonempty,
hence something should always be scanned.

Thanks to Jean-François Gagné for reporting this.
2022-11-28 11:34:00 +02:00
..
buf0block_hint.cc Merge 10.4 into 10.5 2020-10-30 11:15:30 +02:00
buf0buddy.cc Merge 10.4 to 10.5 2020-10-22 17:08:49 +03:00
buf0buf.cc MDEV-19514 fixup: Fix recovery with innodb_change_buffering_debug=1 2022-11-21 17:55:35 +02:00
buf0checksum.cc Merge 10.4 into 10.5 2019-05-23 10:32:21 +03:00
buf0dblwr.cc Fix clang -Wunused-but-set-variable 2022-04-21 11:35:07 +03:00
buf0dump.cc MDEV-25417: Remove innodb buffer pool load throttling 2022-11-28 11:25:47 +02:00
buf0flu.cc MDEV-29982 Improve the InnoDB log overwrite error message 2022-11-14 12:18:03 +02:00
buf0lru.cc MDEV-30089 Metrics not incremented for 1st iteration in buf_LRU_free_from_common_LRU_list() 2022-11-28 11:34:00 +02:00
buf0rea.cc MDEV-27900: aio handle partial reads/writes 2022-03-12 09:47:53 +11:00