if (logger)
logger->inc(l_osd_map_bl_cache_miss);
found = store->read(coll_t::meta(),
- OSD::get_osdmap_pobject_name(e), 0, 0, bl) >= 0;
+ OSD::get_osdmap_pobject_name(e), 0, 0, bl,
+ CEPH_OSD_OP_FLAG_FADVISE_WILLNEED) >= 0;
if (found)
_add_map_bl(e, bl);
return found;
if (logger)
logger->inc(l_osd_map_bl_cache_miss);
found = store->read(coll_t::meta(),
- OSD::get_inc_osdmap_pobject_name(e), 0, 0, bl) >= 0;
+ OSD::get_inc_osdmap_pobject_name(e), 0, 0, bl,
+ CEPH_OSD_OP_FLAG_FADVISE_WILLNEED) >= 0;
if (found)
_add_map_inc_bl(e, bl);
return found;