swap.state v2 log parser More...
Public Member Functions | |
UFSSwapLogParser_v2 (FILE *fp) | |
bool | ReadRecord (StoreSwapLogData &swapData) override |
int | SwapLogEntries () |
void | Close () |
Static Public Member Functions | |
static UFSSwapLogParser * | GetUFSSwapLogParser (FILE *fp) |
Public Attributes | |
FILE * | log |
int | log_entries |
int | record_size |
Detailed Description
Definition at line 68 of file UFSSwapLogParser.cc.
Constructor & Destructor Documentation
◆ UFSSwapLogParser_v2()
|
inline |
Definition at line 71 of file UFSSwapLogParser.cc.
References Fs::Ufs::UFSSwapLogParser::record_size.
Member Function Documentation
◆ Close()
|
inlineinherited |
Definition at line 34 of file UFSSwapLogParser.h.
References Fs::Ufs::UFSSwapLogParser::log.
◆ GetUFSSwapLogParser()
|
staticinherited |
Definition at line 81 of file UFSSwapLogParser.cc.
References assert, DBG_IMPORTANT, debugs, StoreSwapLogHeader::op, StoreSwapLogHeader::record_size, StoreSwapLogHeader::sane(), SWAP_LOG_VERSION, and StoreSwapLogHeader::version.
Referenced by Fs::Ufs::RebuildState::RebuildState().
◆ ReadRecord()
|
inlineoverridevirtual |
Implements Fs::Ufs::UFSSwapLogParser.
Definition at line 74 of file UFSSwapLogParser.cc.
References assert, and Fs::Ufs::UFSSwapLogParser::log.
◆ SwapLogEntries()
|
inherited |
Definition at line 129 of file UFSSwapLogParser.cc.
Member Data Documentation
◆ log
|
inherited |
Definition at line 22 of file UFSSwapLogParser.h.
Referenced by Fs::Ufs::UFSSwapLogParser::Close(), UFSSwapLogParser_v1_32bs::ReadRecord(), and ReadRecord().
◆ log_entries
|
inherited |
Definition at line 23 of file UFSSwapLogParser.h.
◆ record_size
|
inherited |
Definition at line 24 of file UFSSwapLogParser.h.
Referenced by UFSSwapLogParser_v1_32bs::UFSSwapLogParser_v1_32bs(), and UFSSwapLogParser_v2().
The documentation for this class was generated from the following file:
- src/fs/ufs/UFSSwapLogParser.cc