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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1291c004
Commit
1291c004
authored
Oct 21, 2010
by
Jimmy Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug #56791 Remove ios_mutex from InnoDB code
rb://495
approved by Inaam
parent
6c1d9fd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-1
storage/innobase/include/sync0sync.h
storage/innobase/include/sync0sync.h
+0
-1
storage/innobase/srv/srv0start.c
storage/innobase/srv/srv0start.c
+0
-18
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
1291c004
...
@@ -240,7 +240,6 @@ static PSI_mutex_info all_innodb_mutexes[] = {
...
@@ -240,7 +240,6 @@ static PSI_mutex_info all_innodb_mutexes[] = {
{
&
ibuf_mutex_key
,
"ibuf_mutex"
,
0
},
{
&
ibuf_mutex_key
,
"ibuf_mutex"
,
0
},
{
&
ibuf_pessimistic_insert_mutex_key
,
{
&
ibuf_pessimistic_insert_mutex_key
,
"ibuf_pessimistic_insert_mutex"
,
0
},
"ibuf_pessimistic_insert_mutex"
,
0
},
{
&
ios_mutex_key
,
"ios_mutex"
,
0
},
{
&
kernel_mutex_key
,
"kernel_mutex"
,
0
},
{
&
kernel_mutex_key
,
"kernel_mutex"
,
0
},
{
&
log_sys_mutex_key
,
"log_sys_mutex"
,
0
},
{
&
log_sys_mutex_key
,
"log_sys_mutex"
,
0
},
# ifdef UNIV_MEM_DEBUG
# ifdef UNIV_MEM_DEBUG
...
...
storage/innobase/include/sync0sync.h
View file @
1291c004
...
@@ -85,7 +85,6 @@ extern mysql_pfs_key_t hash_table_mutex_key;
...
@@ -85,7 +85,6 @@ extern mysql_pfs_key_t hash_table_mutex_key;
extern
mysql_pfs_key_t
ibuf_bitmap_mutex_key
;
extern
mysql_pfs_key_t
ibuf_bitmap_mutex_key
;
extern
mysql_pfs_key_t
ibuf_mutex_key
;
extern
mysql_pfs_key_t
ibuf_mutex_key
;
extern
mysql_pfs_key_t
ibuf_pessimistic_insert_mutex_key
;
extern
mysql_pfs_key_t
ibuf_pessimistic_insert_mutex_key
;
extern
mysql_pfs_key_t
ios_mutex_key
;
extern
mysql_pfs_key_t
log_sys_mutex_key
;
extern
mysql_pfs_key_t
log_sys_mutex_key
;
extern
mysql_pfs_key_t
log_flush_order_mutex_key
;
extern
mysql_pfs_key_t
log_flush_order_mutex_key
;
extern
mysql_pfs_key_t
kernel_mutex_key
;
extern
mysql_pfs_key_t
kernel_mutex_key
;
...
...
storage/innobase/srv/srv0start.c
View file @
1291c004
...
@@ -120,11 +120,6 @@ UNIV_INTERN enum srv_shutdown_state srv_shutdown_state = SRV_SHUTDOWN_NONE;
...
@@ -120,11 +120,6 @@ UNIV_INTERN enum srv_shutdown_state srv_shutdown_state = SRV_SHUTDOWN_NONE;
/** Files comprising the system tablespace */
/** Files comprising the system tablespace */
static
os_file_t
files
[
1000
];
static
os_file_t
files
[
1000
];
/** Mutex protecting the ios count */
static
mutex_t
ios_mutex
;
/** Count of I/O operations in io_handler_thread() */
static
ulint
ios
;
/** io_handler_thread parameters for thread identification */
/** io_handler_thread parameters for thread identification */
static
ulint
n
[
SRV_MAX_N_IO_THREADS
+
6
];
static
ulint
n
[
SRV_MAX_N_IO_THREADS
+
6
];
/** io_handler_thread identifiers */
/** io_handler_thread identifiers */
...
@@ -152,11 +147,6 @@ UNIV_INTERN mysql_pfs_key_t srv_master_thread_key;
...
@@ -152,11 +147,6 @@ UNIV_INTERN mysql_pfs_key_t srv_master_thread_key;
UNIV_INTERN
mysql_pfs_key_t
srv_purge_thread_key
;
UNIV_INTERN
mysql_pfs_key_t
srv_purge_thread_key
;
#endif
/* UNIV_PFS_THREAD */
#endif
/* UNIV_PFS_THREAD */
#ifdef UNIV_PFS_MUTEX
/* Key to register ios_mutex_key with performance schema */
UNIV_INTERN
mysql_pfs_key_t
ios_mutex_key
;
#endif
/* UNIV_PFS_MUTEX */
/*********************************************************************//**
/*********************************************************************//**
Convert a numeric string that optionally ends in G or M, to a number
Convert a numeric string that optionally ends in G or M, to a number
containing megabytes.
containing megabytes.
...
@@ -491,10 +481,6 @@ io_handler_thread(
...
@@ -491,10 +481,6 @@ io_handler_thread(
while
(
srv_shutdown_state
!=
SRV_SHUTDOWN_EXIT_THREADS
)
{
while
(
srv_shutdown_state
!=
SRV_SHUTDOWN_EXIT_THREADS
)
{
fil_aio_wait
(
segment
);
fil_aio_wait
(
segment
);
mutex_enter
(
&
ios_mutex
);
ios
++
;
mutex_exit
(
&
ios_mutex
);
}
}
/* We count the number of threads in os_thread_exit(). A created
/* We count the number of threads in os_thread_exit(). A created
...
@@ -998,10 +984,6 @@ skip_size_check:
...
@@ -998,10 +984,6 @@ skip_size_check:
srv_data_file_is_raw_partition
[
i
]
!=
0
);
srv_data_file_is_raw_partition
[
i
]
!=
0
);
}
}
ios
=
0
;
mutex_create
(
ios_mutex_key
,
&
ios_mutex
,
SYNC_NO_ORDER_CHECK
);
return
(
DB_SUCCESS
);
return
(
DB_SUCCESS
);
}
}
...
...
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