Shmem: Send acks also for local regions

This commit is contained in:
Alexey Rybalchenko 2020-05-04 09:53:13 +02:00
parent 5a49c5b9b1
commit 4218c185a4
2 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,6 @@ Region* Manager::GetRegionUnsafe(const uint64_t id)
// LOG(debug) << "Located remote region with id '" << id << "', path: '" << path << "', flags: '" << flags << "'";
auto r = fRegions.emplace(id, tools::make_unique<Region>(*this, id, 0, true, nullptr, path, flags));
r.first->second->StartSendingAcks();
return r.first->second.get();
} catch (bie& e) {
LOG(warn) << "Could not get remote region for id: " << id;

View File

@ -81,6 +81,7 @@ Region::Region(Manager& manager, uint64_t id, uint64_t size, bool remote, Region
}
InitializeQueues();
StartSendingAcks();
LOG(debug) << "shmem: initialized region: " << fName;
}