1. 15 Nov, 2006 2 commits
    • marko's avatar
      branches/zip: Improve the shrinking of the buffer pool. · e2c305f3
      marko authored
      buf_LRU_block_free_non_file_page(): Deallocate block->page_zip.data
      to avoid ut_a(!block->page_zip.data) in buf_chunk_free().
      
      buf_chunk_free(): Add the assertion ut_a(!block->in_LRU_list).
      
      buf_pool_resize(): When shrinking the buffer pool and there are
      non-free blocks in the candidate chunk, free the clean blocks
      and move the dirty blocks to the end of the LRU list and request a flush.
      Proceed if the chunk becomes free, and retry otherwise.
      e2c305f3
    • marko's avatar
      branches/zip: buf_LRU_free_block(): New function, split from · 274f2bc6
      marko authored
      buf_LRU_search_and_free_block().
      274f2bc6
  2. 14 Nov, 2006 2 commits
    • marko's avatar
      branches/zip: Implement resizeable buffer pool. · 2018ce35
      marko authored
      mysql.patch: Patch to change or add variables to MySQL
      
      innodb.patch: Patch to make the master thread poll requests to resize
      the buffer pool.
      
      Replace srv_pool_size and innobase_buffer_pool_size
      with srv_buf_pool_size, srv_buf_pool_old_size,
      and srv_buf_pool_curr_size.
      
      Add buf_chunk_t, a collection of buf_block_t.
      2018ce35
    • marko's avatar
      branches/zip: Correct a bug introduced in r1014: Always assign node->block · 8e8719da
      marko authored
      when assigning node->data.
      
      ha_delete(), ha_search_and_delete_if_found(), ha_remove_all_nodes_to_page():
      Remove the parameter buf_block_t* block, now that it is stored within the
      hash data structure in debug builds.
      8e8719da
  3. 13 Nov, 2006 3 commits
    • marko's avatar
      branches/zip: Remove the buf_block_align() calls from ha0ha.c that caused · 51fbf760
      marko authored
      an assertion failure in debug builds when a context switch occurred in
      buf_LRU_search_and_free_block() before the call to
      btr_search_drop_page_hash_index() managed to acquire the mutexes again.
      
      ha_node_t: Add the field buf_block_t* block.
      
      ha_search_and_update_if_found(): Rename to ha_search_and_update_if_found_func()
      with added buf_block_t* parameter in debug builds.  Define the wrapper macro
      ha_search_and_update_if_found() that always takes the buf_block_t* parameter.
      
      ha_insert_for_fold(): Rename to ha_insert_for_fold_func()
      with added buf_block_t* parameter in debug builds.  Define the wrapper macro
      ha_insert_for_fold() that always takes the buf_block_t* parameter.
      51fbf760
    • marko's avatar
      branches/zip: Remove the variable innobase_buffer_pool_awe_mem_mb. · bfd7087b
      marko authored
      The bulk of the AWE support was removed in r976.
      bfd7087b
    • marko's avatar
      branches/zip: buf_LRU_block_free_non_file_page(), · 1bb75bc1
      marko authored
      buf_LRU_block_remove_hashed_page(): Overwrite (space_id,page_no)
      when freeing a buffer block.  This will help catching non-file
      pages being passed to buf_block_align().
      1bb75bc1
  4. 10 Nov, 2006 1 commit
  5. 02 Nov, 2006 1 commit
  6. 01 Nov, 2006 3 commits
  7. 31 Oct, 2006 2 commits
  8. 30 Oct, 2006 9 commits
  9. 27 Oct, 2006 1 commit
  10. 26 Oct, 2006 9 commits
  11. 25 Oct, 2006 4 commits
  12. 24 Oct, 2006 3 commits