| 411 | } |
| 412 | |
| 413 | void MultiDiskAdaptor::writeCache(const WrDiskCacheEntry* entry) |
| 414 | { |
| 415 | for (auto& d : entry->getDataSet()) { |
| 416 | A2_LOG_DEBUG(fmt("Cache flush goff=%" PRId64 ", len=%lu", d->goff, |
| 417 | static_cast<unsigned long>(d->len))); |
| 418 | writeData(d->data + d->offset, d->len, d->goff); |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | void MultiDiskAdaptor::flushOSBuffers() |
| 423 | { |