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
1890ec59
Commit
1890ec59
authored
Oct 26, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: buf_page_get_gen(): Improve the comments about
wait_until_unfixed.
parent
aa8c8329
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
buf/buf0buf.c
buf/buf0buf.c
+6
-2
No files found.
buf/buf0buf.c
View file @
1890ec59
...
...
@@ -1750,6 +1750,9 @@ buf_page_get_gen(
if
(
bpage
->
buf_fix_count
||
buf_page_get_io_fix
(
bpage
)
!=
BUF_IO_NONE
)
{
/* This condition often occurs when the buffer
is not buffer-fixed, but I/O-fixed by
buf_page_init_for_read(). */
wait_until_unfixed:
/* The block is buffer-fixed or I/O-fixed.
Try again later. */
...
...
@@ -1791,8 +1794,9 @@ buf_page_get_gen(
||
buf_page_get_io_fix
(
bpage
)
!=
BUF_IO_NONE
))
{
/* The block was buffer-fixed or I/O-fixed
while buf_pool->mutex was released. Free the
block that was allocated and try again. */
while buf_pool->mutex was not held by this thread.
Free the block that was allocated and try again.
This should be extremely unlikely. */
buf_LRU_block_free_non_file_page
(
block
);
mutex_exit
(
&
block
->
mutex
);
...
...
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