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

« back to all changes in this revision

Viewing changes to storage/innobase/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:
38
38
        dulint  newest_lsn,     /* in: newest modification lsn to the page */
39
39
        ulint   space,          /* in: space id */
40
40
        ulint   page_no);       /* in: page number */
 
41
# if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
 
42
/**********************************************************************
 
43
Writes a flushable page asynchronously from the buffer pool to a file.
 
44
NOTE: buf_pool_mutex and block->mutex must be held upon entering this
 
45
function, and they will be released by this function after flushing.
 
46
This is loosely based on buf_flush_batch() and buf_flush_try_page(). */
 
47
 
 
48
ibool
 
49
buf_flush_page_try(
 
50
/*===============*/
 
51
                                        /* out: TRUE if flushed and
 
52
                                        mutexes released */
 
53
        buf_block_t*    block);         /*!< in/out: buffer control block */
 
54
#endif /* UNIV_DEBUG || UNIV_IBUF_DEBUG */
41
55
/***********************************************************************
42
56
This utility flushes dirty blocks from the end of the LRU list or flush_list.
43
57
NOTE 1: in the case of an LRU flush the calling thread may own latches to