-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Page FTL has not been finished implementing the cache feature. It needs to implement.
Moreover, its architecture's cache shares read and write routines. The cache only can be updated by the write routine. In other words, the current cache implementation cannot efficiently absorb the I/O performance degradation.
Flash-Translation-Layer/ftl/page/page-read.c
Lines 82 to 92 in 964e3b5
#ifdef PAGE_FTL_USE_CACHE | |
cached = (struct device_request *)lru_get(pgftl->cache, lpn); | |
if (cached) { | |
memcpy(request->data, &((char *)cached->data)[offset], | |
request->data_len); | |
ret = request->data_len; | |
device_free_request(request); | |
pthread_mutex_unlock(&pgftl->mutex); | |
goto exception; | |
} | |
#endif |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working