Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
12f362c3
Commit
12f362c3
authored
Jan 15, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
MDEV-18233 Moving the hash_node_t to improve locality of reference
parents
e0633f25
a06a3e46
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
storage/innobase/include/buf0buf.h
storage/innobase/include/buf0buf.h
+3
-3
storage/innobase/include/dict0mem.h
storage/innobase/include/dict0mem.h
+2
-2
storage/innobase/include/fil0fil.h
storage/innobase/include/fil0fil.h
+2
-2
storage/xtradb/include/buf0buf.h
storage/xtradb/include/buf0buf.h
+3
-3
storage/xtradb/include/dict0mem.h
storage/xtradb/include/dict0mem.h
+2
-2
storage/xtradb/include/fil0fil.h
storage/xtradb/include/fil0fil.h
+2
-2
No files found.
storage/innobase/include/buf0buf.h
View file @
12f362c3
...
...
@@ -1443,6 +1443,9 @@ struct buf_page_t{
by buf_pool->mutex. */
ib_uint32_t
offset
;
/*!< page number; also protected
by buf_pool->mutex. */
buf_page_t
*
hash
;
/*!< node used in chaining to
buf_pool->page_hash or
buf_pool->zip_hash */
/** count of how manyfold this block is currently bufferfixed */
#ifdef PAGE_ATOMIC_REF_COUNT
ib_uint32_t
buf_fix_count
;
...
...
@@ -1489,9 +1492,6 @@ struct buf_page_t{
zip.data == NULL means an active
buf_pool->watch */
#ifndef UNIV_HOTBACKUP
buf_page_t
*
hash
;
/*!< node used in chaining to
buf_pool->page_hash or
buf_pool->zip_hash */
#ifdef UNIV_DEBUG
ibool
in_page_hash
;
/*!< TRUE if in buf_pool->page_hash */
ibool
in_zip_hash
;
/*!< TRUE if in buf_pool->zip_hash */
...
...
storage/innobase/include/dict0mem.h
View file @
12f362c3
...
...
@@ -926,8 +926,10 @@ struct dict_table_t{
table_id_t
id
;
/*!< id of the table */
hash_node_t
id_hash
;
/*!< hash chain node */
mem_heap_t
*
heap
;
/*!< memory heap */
char
*
name
;
/*!< table name */
hash_node_t
name_hash
;
/*!< hash chain node */
const
char
*
dir_path_of_temp_table
;
/*!< NULL or the directory path
where a TEMPORARY table that was explicitly
created by a user should be placed if
...
...
@@ -983,8 +985,6 @@ struct dict_table_t{
dictionary information and
MySQL FRM information mismatch. */
#ifndef UNIV_HOTBACKUP
hash_node_t
name_hash
;
/*!< hash chain node */
hash_node_t
id_hash
;
/*!< hash chain node */
UT_LIST_BASE_NODE_T
(
dict_index_t
)
indexes
;
/*!< list of indexes of the table */
...
...
storage/innobase/include/fil0fil.h
View file @
12f362c3
...
...
@@ -245,7 +245,9 @@ struct fil_node_t {
struct
fil_space_t
{
char
*
name
;
/*!< space name = the path to the first file in
it */
hash_node_t
name_hash
;
/*!< hash chain the name_hash table */
ulint
id
;
/*!< space id */
hash_node_t
hash
;
/*!< hash chain node */
ib_int64_t
tablespace_version
;
/*!< in DISCARD/IMPORT this timestamp
is used to check if we should ignore
...
...
@@ -292,8 +294,6 @@ struct fil_space_t {
trying to read a block.
Dropping of the tablespace is forbidden
if this is positive */
hash_node_t
hash
;
/*!< hash chain node */
hash_node_t
name_hash
;
/*!< hash chain the name_hash table */
#ifndef UNIV_HOTBACKUP
rw_lock_t
latch
;
/*!< latch protecting the file space storage
allocation */
...
...
storage/xtradb/include/buf0buf.h
View file @
12f362c3
...
...
@@ -1477,6 +1477,9 @@ struct buf_page_t{
ib_uint32_t
space
;
/*!< tablespace id. */
ib_uint32_t
offset
;
/*!< page number. */
buf_page_t
*
hash
;
/*!< node used in chaining to
buf_pool->page_hash or
buf_pool->zip_hash */
/** count of how manyfold this block is currently bufferfixed */
#ifdef PAGE_ATOMIC_REF_COUNT
ib_uint32_t
buf_fix_count
;
...
...
@@ -1530,9 +1533,6 @@ struct buf_page_t{
zip.data == NULL means an active
buf_pool->watch */
#ifndef UNIV_HOTBACKUP
buf_page_t
*
hash
;
/*!< node used in chaining to
buf_pool->page_hash or
buf_pool->zip_hash */
#ifdef UNIV_DEBUG
ibool
in_page_hash
;
/*!< TRUE if in buf_pool->page_hash */
ibool
in_zip_hash
;
/*!< TRUE if in buf_pool->zip_hash */
...
...
storage/xtradb/include/dict0mem.h
View file @
12f362c3
...
...
@@ -937,8 +937,10 @@ struct dict_table_t{
table_id_t
id
;
/*!< id of the table */
hash_node_t
id_hash
;
/*!< hash chain node */
mem_heap_t
*
heap
;
/*!< memory heap */
char
*
name
;
/*!< table name */
hash_node_t
name_hash
;
/*!< hash chain node */
const
char
*
dir_path_of_temp_table
;
/*!< NULL or the directory path
where a TEMPORARY table that was explicitly
created by a user should be placed if
...
...
@@ -994,8 +996,6 @@ struct dict_table_t{
dictionary information and
MySQL FRM information mismatch. */
#ifndef UNIV_HOTBACKUP
hash_node_t
name_hash
;
/*!< hash chain node */
hash_node_t
id_hash
;
/*!< hash chain node */
UT_LIST_BASE_NODE_T
(
dict_index_t
)
indexes
;
/*!< list of indexes of the table */
...
...
storage/xtradb/include/fil0fil.h
View file @
12f362c3
...
...
@@ -238,7 +238,9 @@ struct fil_node_t {
struct
fil_space_t
{
char
*
name
;
/*!< space name = the path to the first file in
it */
hash_node_t
name_hash
;
/*!< hash chain the name_hash table */
ulint
id
;
/*!< space id */
hash_node_t
hash
;
/*!< hash chain node */
ib_int64_t
tablespace_version
;
/*!< in DISCARD/IMPORT this timestamp
is used to check if we should ignore
...
...
@@ -285,8 +287,6 @@ struct fil_space_t {
trying to read a block.
Dropping of the tablespace is forbidden
if this is positive */
hash_node_t
hash
;
/*!< hash chain node */
hash_node_t
name_hash
;
/*!< hash chain the name_hash table */
#ifndef UNIV_HOTBACKUP
prio_rw_lock_t
latch
;
/*!< latch protecting the file space storage
allocation */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment