SunriseOS icon indicating copy to clipboard operation
SunriseOS copied to clipboard

FS: StorageCachedBlockDevice should live in storage-device

Open roblabla opened this issue 4 years ago • 1 comments

StorageCachedBlockDevice is truthfully a fancy StorageBlockDevice<CachedBlockDevice>. The only difference between the two is that it has a special read method that ~~is totally broken~~ handles misaligned blocks in a somewhat efficient way. There's no reason why this function couldn't be implemented on StorageBlockDevice.

@Orycterope since you're going to be fixing the broken read method anyways, I think you should move it to storage_device at the same time.

roblabla avatar Aug 30 '19 15:08 roblabla

yep, that was my plan all along

Orycterope avatar Aug 30 '19 16:08 Orycterope