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
92d5b7c0
Commit
92d5b7c0
authored
Jun 10, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: minor clean-up in os0file
parent
55c3936a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
innobase/include/os0file.h
innobase/include/os0file.h
+3
-0
innobase/os/os0file.c
innobase/os/os0file.c
+10
-8
No files found.
innobase/include/os0file.h
View file @
92d5b7c0
...
@@ -688,6 +688,8 @@ Refreshes the statistics used to print per-second averages. */
...
@@ -688,6 +688,8 @@ Refreshes the statistics used to print per-second averages. */
void
void
os_aio_refresh_stats
(
void
);
os_aio_refresh_stats
(
void
);
/*======================*/
/*======================*/
#ifdef UNIV_DEBUG
/**************************************************************************
/**************************************************************************
Checks that all slots in the system have been freed, that is, there are
Checks that all slots in the system have been freed, that is, there are
no pending io operations. */
no pending io operations. */
...
@@ -695,6 +697,7 @@ no pending io operations. */
...
@@ -695,6 +697,7 @@ no pending io operations. */
ibool
ibool
os_aio_all_slots_free
(
void
);
os_aio_all_slots_free
(
void
);
/*=======================*/
/*=======================*/
#endif
/* UNIV_DEBUG */
/***********************************************************************
/***********************************************************************
This function returns information about the specified file */
This function returns information about the specified file */
...
...
innobase/os/os0file.c
View file @
92d5b7c0
...
@@ -133,17 +133,17 @@ os_event_t* os_aio_segment_wait_events = NULL;
...
@@ -133,17 +133,17 @@ os_event_t* os_aio_segment_wait_events = NULL;
/* The aio arrays for non-ibuf i/o and ibuf i/o, as well as sync aio. These
/* The aio arrays for non-ibuf i/o and ibuf i/o, as well as sync aio. These
are NULL when the module has not yet been initialized. */
are NULL when the module has not yet been initialized. */
os_aio_array_t
*
os_aio_read_array
=
NULL
;
static
os_aio_array_t
*
os_aio_read_array
=
NULL
;
os_aio_array_t
*
os_aio_write_array
=
NULL
;
static
os_aio_array_t
*
os_aio_write_array
=
NULL
;
os_aio_array_t
*
os_aio_ibuf_array
=
NULL
;
static
os_aio_array_t
*
os_aio_ibuf_array
=
NULL
;
os_aio_array_t
*
os_aio_log_array
=
NULL
;
static
os_aio_array_t
*
os_aio_log_array
=
NULL
;
os_aio_array_t
*
os_aio_sync_array
=
NULL
;
static
os_aio_array_t
*
os_aio_sync_array
=
NULL
;
ulint
os_aio_n_segments
=
ULINT_UNDEFINED
;
static
ulint
os_aio_n_segments
=
ULINT_UNDEFINED
;
/* If the following is TRUE, read i/o handler threads try to
/* If the following is TRUE, read i/o handler threads try to
wait until a batch of new read requests have been posted */
wait until a batch of new read requests have been posted */
ibool
os_aio_recommend_sleep_for_read_threads
=
FALSE
;
static
ibool
os_aio_recommend_sleep_for_read_threads
=
FALSE
;
ulint
os_n_file_reads
=
0
;
ulint
os_n_file_reads
=
0
;
ulint
os_bytes_read_since_printout
=
0
;
ulint
os_bytes_read_since_printout
=
0
;
...
@@ -158,7 +158,7 @@ ibool os_has_said_disk_full = FALSE;
...
@@ -158,7 +158,7 @@ ibool os_has_said_disk_full = FALSE;
/* The mutex protecting the following counts of pending pread and pwrite
/* The mutex protecting the following counts of pending pread and pwrite
operations */
operations */
os_mutex_t
os_file_count_mutex
;
static
os_mutex_t
os_file_count_mutex
;
ulint
os_file_n_pending_preads
=
0
;
ulint
os_file_n_pending_preads
=
0
;
ulint
os_file_n_pending_pwrites
=
0
;
ulint
os_file_n_pending_pwrites
=
0
;
...
@@ -4182,6 +4182,7 @@ os_aio_refresh_stats(void)
...
@@ -4182,6 +4182,7 @@ os_aio_refresh_stats(void)
os_last_printout
=
time
(
NULL
);
os_last_printout
=
time
(
NULL
);
}
}
#ifdef UNIV_DEBUG
/**************************************************************************
/**************************************************************************
Checks that all slots in the system have been freed, that is, there are
Checks that all slots in the system have been freed, that is, there are
no pending io operations. */
no pending io operations. */
...
@@ -4241,3 +4242,4 @@ os_aio_all_slots_free(void)
...
@@ -4241,3 +4242,4 @@ os_aio_all_slots_free(void)
return
(
FALSE
);
return
(
FALSE
);
}
}
#endif
/* UNIV_DEBUG */
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