1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2012 New Dream Network
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
13 #ifndef FILESTORE_DIFF_H_
14 #define FILESTORE_DIFF_H_
19 #include <boost/scoped_ptr.hpp>
20 #include "common/debug.h"
21 #include "os/filestore/FileStore.h"
22 #include "common/config.h"
30 bool diff_objects(FileStore *a_store, FileStore *b_store, coll_t coll);
31 bool diff_objects_stat(struct stat& a, struct stat& b);
32 bool diff_attrs(std::map<std::string,bufferptr>& b,
33 std::map<std::string,bufferptr>& a);
36 FileStoreDiff(FileStore *a, FileStore *b);
37 virtual ~FileStoreDiff();
42 #endif /* FILESTOREDIFF_H_ */