]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: optimize journal header file dependency
authorshawn <cxwshawn@gmail.com>
Tue, 7 Jun 2016 05:59:05 +0000 (01:59 -0400)
committerMykola Golub <mgolub@mirantis.com>
Fri, 19 Aug 2016 19:59:06 +0000 (22:59 +0300)
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 59397e27a04fb0f2b990a86dcaf3c418457d1b72)

src/librbd/journal/Replay.cc
src/librbd/journal/Replay.h

index fb506ec3d72cb24e42b96c2789538e206e0c2c19..de33e03991de41b518da01426b3cbc404492fd2f 100644 (file)
@@ -9,7 +9,6 @@
 #include "librbd/AioImageRequest.h"
 #include "librbd/ImageCtx.h"
 #include "librbd/ImageState.h"
-#include "librbd/ImageWatcher.h"
 #include "librbd/internal.h"
 #include "librbd/Operations.h"
 #include "librbd/Utils.h"
index 8490d3cc98ad1cce0c22193379583522c0705a0a..30642db1f365281d2c793527a764d67a489cd54c 100644 (file)
@@ -7,13 +7,11 @@
 #include "include/int_types.h"
 #include "include/buffer_fwd.h"
 #include "include/Context.h"
-#include "include/rbd/librbd.hpp"
 #include "common/Mutex.h"
 #include "librbd/AioCompletion.h"
 #include "librbd/journal/Types.h"
 #include <boost/variant.hpp>
 #include <list>
-#include <set>
 #include <unordered_set>
 #include <unordered_map>