Fennel: LinearDeviceSegmentParams Struct Reference (original) (raw)
LinearDeviceSegmentParams defines initialization parameters for LinearDeviceSegment. More...
#include <[LinearDeviceSegment.h](LinearDeviceSegment%5F8h-source.html)>
| Public Member Functions | |
|---|---|
| LinearDeviceSegmentParams () | |
| Public Attributes | |
| BlockId | firstBlockId |
| BlockId of the first page in the segment; the owning device must already be registered with the cache. | |
| BlockNum | nPagesMin |
| Minimum number of pages in segment. | |
| BlockNum | nPagesAllocated |
| Number of pages considered allocated in segment on construction. | |
| BlockNum | nPagesIncrement |
| When the device needs to be extended to satisfy an allocation, the number of pages by which to extend it. | |
| BlockNum | nPagesMax |
| Maximum number of pages in the segment; the device will not be extended beyond this. |
Detailed Description
LinearDeviceSegmentParams defines initialization parameters for LinearDeviceSegment.
Definition at line 36 of file LinearDeviceSegment.h.
Constructor & Destructor Documentation
| LinearDeviceSegmentParams::LinearDeviceSegmentParams | ( | | ) | [explicit] | | ---------------------------------------------------- | - | | - | ------------ |
Member Data Documentation
Number of pages considered allocated in segment on construction.
Must be less than nPagesMax (or MAXU, in which case all pages are considered allocated).
Definition at line 55 of file LinearDeviceSegment.h.
Referenced by Database::createDataSegment(), SegStorageTestBase::createLinearDeviceSegment(), Database::createShadowLog(), Database::createTxnLogSegment(), LinearDeviceSegment::LinearDeviceSegment(), LinearDeviceSegmentParams(), Database::loadHeader(), SegmentFactory::newTempDeviceSegment(), SparseBitmapTest::openStorage(), and Database::readDeviceParams().
The documentation for this struct was generated from the following files:
- /home/pub/open/dev/fennel/segment/LinearDeviceSegment.h
- /home/pub/open/dev/fennel/segment/LinearDeviceSegment.cpp
