]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: kill dead code
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 23 Jun 2016 06:26:42 +0000 (14:26 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 23 Jun 2016 12:07:25 +0000 (20:07 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueFS.cc

index 07d5e408a18da8c74276197dd18efd0e8f538201..1e35c965e56b44ebed26618471dc21131c19b9c1 100644 (file)
@@ -106,19 +106,12 @@ void BlueFS::_update_logger_stats()
   }
 }
 
-/*static void aio_cb(void *priv, void *priv2)
-{
-  BlueFS *fs = static_cast<BlueFS*>(priv);
-  if (priv2)
-    fs->_aio_finish(priv2);
-    }*/
-
 int BlueFS::add_block_device(unsigned id, string path)
 {
   dout(10) << __func__ << " bdev " << id << " path " << path << dendl;
   assert(id < bdev.size());
   assert(bdev[id] == NULL);
-  BlockDevice *b = BlockDevice::create(path, NULL, NULL); //aio_cb, this);
+  BlockDevice *b = BlockDevice::create(path, NULL, NULL);
   int r = b->open(path);
   if (r < 0) {
     delete b;