~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to storage/innodb_plugin/include/buf0flu.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
        ib_uint64_t     newest_lsn);    /*!< in: newest modification lsn
76
76
                                        to the page */
77
77
#ifndef UNIV_HOTBACKUP
 
78
# if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
 
79
/********************************************************************//**
 
80
Writes a flushable page asynchronously from the buffer pool to a file.
 
81
NOTE: buf_pool_mutex and block->mutex must be held upon entering this
 
82
function, and they will be released by this function after flushing.
 
83
This is loosely based on buf_flush_batch() and buf_flush_page().
 
84
@return TRUE if the page was flushed and the mutexes released */
 
85
UNIV_INTERN
 
86
ibool
 
87
buf_flush_page_try(
 
88
/*===============*/
 
89
        buf_block_t*    block)          /*!< in/out: buffer control block */
 
90
        __attribute__((nonnull, warn_unused_result));
 
91
# endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
78
92
/*******************************************************************//**
79
93
This utility flushes dirty blocks from the end of the LRU list or flush_list.
80
94
NOTE 1: in the case of an LRU flush the calling thread may own latches to