remove ceph code
[stor4nfv.git] / src / ceph / src / os / bluestore / Allocator.cc
diff --git a/src/ceph/src/os/bluestore/Allocator.cc b/src/ceph/src/os/bluestore/Allocator.cc
deleted file mode 100644 (file)
index 8a4101e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
-// vim: ts=8 sw=2 smarttab
-
-#include "Allocator.h"
-#include "StupidAllocator.h"
-#include "BitMapAllocator.h"
-#include "common/debug.h"
-
-#define dout_subsys ceph_subsys_bluestore
-
-Allocator *Allocator::create(CephContext* cct, string type,
-                             int64_t size, int64_t block_size)
-{
-  if (type == "stupid") {
-    return new StupidAllocator(cct);
-  } else if (type == "bitmap") {
-    return new BitMapAllocator(cct, size, block_size);
-  }
-  lderr(cct) << "Allocator::" << __func__ << " unknown alloc type "
-            << type << dendl;
-  return nullptr;
-}