Bananymous
a1ab44d39f
Old StorageDevice::read_sectors() read each sector separately if the underlying disk had a disk cache. This patch allows multiple sectors to be read even if the disk cache exists and contains some of the sectors. Only sectors that could not be found from the disk cache are actually read from the disk. This optimization is not done for writing, which still will write each sector separately, if disk cache has no memory to store new sectors. It would feel kind of unnecessary optimization as you have greater problems if disk cache cannot allocate a single page. |
||
---|---|---|
.. | ||
ATA | ||
NVMe | ||
DiskCache.cpp | ||
Partition.cpp | ||
StorageDevice.cpp |