Skip to content

Commit 4645ae7

Browse files
committed
Remove the unnecessary previous codes
1 parent 52cebde commit 4645ae7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

my.cnf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ innodb_use_nvdimm_buffer=true
5959
innodb_nvdimm_buffer_pool_size=2G
6060
innodb_nvdimm_buffer_pool_instances=2
6161
innodb_nvdimm_pc_threshold_pct=15
62+
innodb_nvdimm_home_dir=/mnt/pmem
6263

6364
#transaction log settings
6465
innodb_log_file_size=2G

storage/innobase/buf/buf0flu.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,7 @@ buf_flush_write_block_low(
11171117
buf_flush_note_modification((buf_block_t *)nvdimm_page, bpage->newest_modification, bpage->newest_modification, nvdimm_page->flush_observer);
11181118

11191119
// TODO: NVDIMM-porting
1120+
flush_cache(((buf_block_t *)nvdimm_page)->frame, UNIV_PAGE_SIZE);
11201121

11211122
/* Remove the target page from the original buffer pool. */
11221123
buf_page_io_complete(bpage, true);

0 commit comments

Comments
 (0)