FEMU  原版 master 7e238cc
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
ssd结构体 参考

模拟一个ssd 更多...

#include <ftl.h>

ssd 的协作图:

成员变量

char * ssdname
 
struct ssdparams sp
 
struct ssd_channelch
 
struct ppamaptbl
 页映射表 更多...
 
uint64_t * rmap
 反向映射表, assume it's stored in OOB 更多...
 
struct write_pointer wp
 
struct line_mgmt lm
 
struct rte_ring ** to_ftl
 无锁ring队列,用于接收nvme下传的req 更多...
 
struct rte_ring ** to_poller
 存放完成的req,交给nvme线程 更多...
 
bool * dataplane_started_ptr
 
QemuThread ftl_thread
 

详细描述

模拟一个ssd

结构体成员变量说明

◆ ch

struct ssd_channel* ssd::ch

◆ dataplane_started_ptr

bool* ssd::dataplane_started_ptr

◆ ftl_thread

QemuThread ssd::ftl_thread

◆ lm

struct line_mgmt ssd::lm

◆ maptbl

struct ppa* ssd::maptbl

页映射表

◆ rmap

uint64_t* ssd::rmap

反向映射表, assume it's stored in OOB

◆ sp

struct ssdparams ssd::sp

◆ ssdname

char* ssd::ssdname

◆ to_ftl

struct rte_ring** ssd::to_ftl

无锁ring队列,用于接收nvme下传的req

◆ to_poller

struct rte_ring** ssd::to_poller

存放完成的req,交给nvme线程

◆ wp

struct write_pointer ssd::wp

该结构体的文档由以下文件生成: