mirror of
https://github.com/ksherlock/profuse.git
synced 2026-03-14 00:16:29 +00:00
block cache support.
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@220 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
#include <Device/BlockDevice.h>
|
||||
|
||||
#include <Cache/ConcreteBlockCache.h>
|
||||
|
||||
#include <ProFUSE/Exception.h>
|
||||
|
||||
@@ -54,3 +54,8 @@ void BlockDevice::sync(TrackSector ts)
|
||||
sync();
|
||||
}
|
||||
|
||||
|
||||
BlockCache *BlockDevice::createBlockCache(unsigned size)
|
||||
{
|
||||
return new ConcreteBlockCache(this, size);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user