[Commits] d03abc71a49: MDEV-12609: Allow suppression of InnoDB log messages about reserving extents

jan jan.lindstrom at mariadb.com
Thu Jun 8 10:35:44 EEST 2017


revision-id: d03abc71a490f4ee6d173d07c95a2adb9c60457c (mariadb-10.0.31-8-gd03abc71a49)
parent(s): d8d39721dfef6b965d782e6099493c36150585cf
author: Jan Lindström
committer: Jan Lindström
timestamp: 2017-06-08 10:34:10 +0300
message:

MDEV-12609: Allow suppression of InnoDB log messages about reserving extents

Removed this output.

---
 storage/innobase/fsp/fsp0fsp.cc | 11 -----------
 storage/xtradb/fsp/fsp0fsp.cc   | 11 -----------
 2 files changed, 22 deletions(-)

diff --git a/storage/innobase/fsp/fsp0fsp.cc b/storage/innobase/fsp/fsp0fsp.cc
index 1732a02aeac..d04cd7168ed 100644
--- a/storage/innobase/fsp/fsp0fsp.cc
+++ b/storage/innobase/fsp/fsp0fsp.cc
@@ -2729,7 +2729,6 @@ fsp_reserve_free_extents(
 	ibool		success;
 	ulint		n_pages_added;
 	size_t		total_reserved = 0;
-	ulint		rounds = 0;
 
 	ut_ad(mtr);
 	*n_reserved = n_ext;
@@ -2809,17 +2808,7 @@ fsp_reserve_free_extents(
 					   space_header, mtr);
 
 	if (success && n_pages_added > 0) {
-
-		rounds++;
 		total_reserved += n_pages_added;
-
-		if (rounds > 50) {
-			ib_logf(IB_LOG_LEVEL_INFO,
-				"Space id %lu trying to reserve %lu extents actually reserved %lu "
-				" reserve %lu free %lu size %lu rounds %lu total_reserved %llu",
-				space, n_ext, n_pages_added, reserve, n_free, size, rounds, (ullint) total_reserved);
-		}
-
 		goto try_again;
 	}
 
diff --git a/storage/xtradb/fsp/fsp0fsp.cc b/storage/xtradb/fsp/fsp0fsp.cc
index 9292f84ab02..cf6fa4211ca 100644
--- a/storage/xtradb/fsp/fsp0fsp.cc
+++ b/storage/xtradb/fsp/fsp0fsp.cc
@@ -2738,7 +2738,6 @@ fsp_reserve_free_extents(
 	ibool		success;
 	ulint		n_pages_added;
 	size_t		total_reserved = 0;
-	ulint		rounds = 0;
 
 	ut_ad(mtr);
 	*n_reserved = n_ext;
@@ -2817,17 +2816,7 @@ fsp_reserve_free_extents(
 	success = fsp_try_extend_data_file(&n_pages_added, space,
 					   space_header, mtr);
 	if (success && n_pages_added > 0) {
-
-		rounds++;
 		total_reserved += n_pages_added;
-
-		if (rounds > 50) {
-			ib_logf(IB_LOG_LEVEL_INFO,
-				"Space id %lu trying to reserve %lu extents actually reserved %lu "
-				" reserve %lu free %lu size %lu rounds %lu total_reserved %llu",
-				space, n_ext, n_pages_added, reserve, n_free, size, rounds, (ullint) total_reserved);
-		}
-
 		goto try_again;
 	}
 


More information about the commits mailing list