This commits skips building two call-sites of `omap_get_iterator()`
of `ObjectStore` which are bypassing the `OSDriver` abstraction
layer.
1. `SnapMapper::convert_legacy()` likely never be needed by
crimson and we can leave it unchanged.
2. `SnapMapper::Subber` isn't needed right now but will be
needed in the future.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
}
+#ifndef WITH_SEASTAR
bool SnapMapper::Scrubber::_parse_p()
{
if (!psit->valid()) {
psit = ObjectMap::ObjectMapIterator();
mapit = ObjectMap::ObjectMapIterator();
}
+#endif // !WITH_SEASTAR
// -------------------------------------
+ "_" + object_suffix;
}
+#ifndef WITH_SEASTAR
int SnapMapper::convert_legacy(
CephContext *cct,
ObjectStore *store,
}
return 0;
}
+#endif // !WITH_SEASTAR
static const char *PURGED_SNAP_EPOCH_PREFIX;
static const char *PURGED_SNAP_PREFIX;
+#ifndef WITH_SEASTAR
struct Scrubber {
CephContext *cct;
ObjectStore *store;
ObjectStore::CollectionHandle& ch,
ghobject_t hoid,
unsigned max);
+#endif
static void record_purged_snaps(
CephContext *cct,