Commit 06c8a509 authored by Amit Kapila's avatar Amit Kapila
parent d3f48dfa
...@@ -198,7 +198,7 @@ GetPageWithFreeSpace(Relation rel, Size spaceNeeded, bool check_fsm_only) ...@@ -198,7 +198,7 @@ GetPageWithFreeSpace(Relation rel, Size spaceNeeded, bool check_fsm_only)
} }
else if (nblocks > 0) else if (nblocks > 0)
{ {
/* Create or update local map and get first candidate block. */ /* Initialize local map and get first candidate block. */
fsm_local_set(rel, nblocks); fsm_local_set(rel, nblocks);
target_block = fsm_local_search(); target_block = fsm_local_search();
} }
...@@ -1119,8 +1119,7 @@ fsm_allow_writes(Relation rel, BlockNumber heapblk, ...@@ -1119,8 +1119,7 @@ fsm_allow_writes(Relation rel, BlockNumber heapblk,
} }
/* /*
* Initialize or update the local map of blocks to try, for when there is * Initialize the local map of blocks to try, for when there is no FSM.
* no FSM.
* *
* When we initialize the map, the whole heap is potentially available to * When we initialize the map, the whole heap is potentially available to
* try. Testing revealed that trying every block can cause a small * try. Testing revealed that trying every block can cause a small
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment