Changeset c08072ce in rtems
- Timestamp:
-
03/14/12 07:45:53
(12 years ago)
- Author:
- Sebastian Huber <sebastian.huber@…>
- Branches:
- 4.11, 5, master
- Children:
- a309a79
- Parents:
- f9fd0c2
- git-author:
- Sebastian Huber <sebastian.huber@…> (03/14/12 07:45:53)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (03/14/12 09:48:54)
- Message:
-
PR2040: libblock: Avoid erased blocks starvation
The compaction process needs erased blocks. It is only possible to
erase an entire segment. Thus in order to make a progress we always
need enough erased blocks to empty a used or available segment which can
be erased in turn. A (possibly the worst case) lower bound of erased
blocks is the block count of the largest segment. The number of
unavailable blocks specified by the configuration will be used to
determine the erase blocks starvation situation. The number of
unavailable blocks must be greater than or equal to the number of blocks
in the largest segment.
-
(No files)
-