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
f870d499
Commit
f870d499
authored
May 17, 2008
by
inaam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/innodb+: Merge revisions r2460:2461 from branches/zip
parent
08d705a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
60 deletions
+0
-60
os/os0file.c
os/os0file.c
+0
-60
No files found.
os/os0file.c
View file @
f870d499
...
...
@@ -3090,66 +3090,6 @@ os_aio_get_array_and_local_segment(
return
(
segment
);
}
/***********************************************************************
Gets an integer value designating a specified aio array. This is used
to give numbers to signals in Posix aio. */
#if !defined(WIN_ASYNC_IO)
static
ulint
os_aio_get_array_no
(
/*================*/
os_aio_array_t
*
array
)
/* in: aio array */
{
if
(
array
==
os_aio_ibuf_array
)
{
return
(
0
);
}
else
if
(
array
==
os_aio_log_array
)
{
return
(
1
);
}
else
if
(
array
==
os_aio_read_array
)
{
return
(
2
);
}
else
if
(
array
==
os_aio_write_array
)
{
return
(
3
);
}
else
{
ut_error
;
return
(
0
);
}
}
/***********************************************************************
Gets the aio array for its number. */
static
os_aio_array_t
*
os_aio_get_array_from_no
(
/*=====================*/
/* out: aio array */
ulint
n
)
/* in: array number */
{
if
(
n
==
0
)
{
return
(
os_aio_ibuf_array
);
}
else
if
(
n
==
1
)
{
return
(
os_aio_log_array
);
}
else
if
(
n
==
2
)
{
return
(
os_aio_read_array
);
}
else
if
(
n
==
3
)
{
return
(
os_aio_write_array
);
}
else
{
ut_error
;
return
(
NULL
);
}
}
#endif
/* if !defined(WIN_ASYNC_IO) */
/***********************************************************************
Requests for a slot in the aio array. If no slot is available, waits until
not_full-event becomes signaled. */
...
...
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