码迷,mamicode.com
首页 > 其他好文 > 详细

new

时间:2015-11-26 20:56:12      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

innobase_start_or_create_for_mysql
    fsp_header_init
        btr_create
            call:fseg_create(space, 0, PAGE_HEADER + PAGE_BTR_SEG_TOP, mtr);
                params:
                    ulint    space
                    ulint    page
                    ulint    byte_offset
                    mtr_t*    mtr
                call:
                    fseg_create_general(space, page, byte_offset, FALSE, mtr)
                        A) space_header = fsp_get_space_header(space, zip_size, mtr);
                            A1) block = buf_page_get(id, zip_size, 0, RW_X_LATCH, mtr);
                                  //在free_list或者unzip lru或者lru中找一个空闲块
                        B) inode = fsp_alloc_seg_inode(space_header, mtr);
              

 

new

标签:

原文地址:http://www.cnblogs.com/taek/p/4998642.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!