Skip to content

Commit a3b09ce

Browse files
committed
Test the NC-OL-ST version
1 parent 1cc3cd1 commit a3b09ce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

my-origin.cnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ innodb_page_size=4KB
4646
innodb_file_per_table=1
4747

4848
#buffer settings
49-
innodb_buffer_pool_size=5G
49+
innodb_buffer_pool_size=6G
5050
innodb_buffer_pool_instances=8
5151
innodb_max_dirty_pages_pct_lwm=0
5252

storage/innobase/buf/.buf0flu.cc.swp

0 Bytes
Binary file not shown.

storage/innobase/buf/buf0flu.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,14 +1115,14 @@ buf_flush_write_block_low(
11151115
} else {
11161116
bpage->moved_to_nvdimm = false;
11171117

1118-
ib::info() << bpage->id.space() << " " << bpage->id.page_no()
1118+
/*ib::info() << bpage->id.space() << " " << bpage->id.page_no()
11191119
<< " is batch written. cached? " << bpage->cached_in_nvdimm
11201120
<< " moved? " << bpage->moved_to_nvdimm
11211121
<< " flush-type: " << flush_type
11221122
<< " buf-fix: " << bpage->buf_fix_count
11231123
<< " with oldest: " << bpage->oldest_modification
11241124
<< " newest: " << bpage->newest_modification;
1125-
1125+
*/
11261126
if (!srv_use_doublewrite_buf
11271127
|| buf_dblwr == NULL
11281128
|| srv_read_only_mode
@@ -1354,7 +1354,7 @@ buf_flush_page(
13541354
oldest_modification != 0. Thus, it cannot be relocated in the
13551355
buffer pool or removed from flush_list or LRU_list. */
13561356

1357-
if (bpage->id.space() == 32) {
1357+
/*if (bpage->id.space() == 32) {
13581358
lsn_t before_lsn = mach_read_from_8(reinterpret_cast<const buf_block_t *>(bpage)->frame + FIL_PAGE_LSN);
13591359
lsn_t lsn_gap = bpage->oldest_modification - before_lsn;
13601360
@@ -1365,7 +1365,7 @@ buf_flush_page(
13651365
<< " lsn-gap: " << lsn_gap
13661366
<< " fix-count: " << bpage->buf_fix_count
13671367
<< " moved? " << bpage->moved_to_nvdimm;
1368-
}
1368+
}*/
13691369
buf_flush_write_block_low(bpage, flush_type, sync);
13701370
}
13711371

0 commit comments

Comments
 (0)