summaryrefslogtreecommitdiffstats
path: root/src/tools/cephfs_mirror/Types.cc
blob: 0049f9d79f787f0f787bc53adc1721fd37cf3241 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "Types.h"

namespace cephfs {
namespace mirror {

std::ostream& operator<<(std::ostream& out, const Filesystem &filesystem) {
  out << "{fscid=" << filesystem.fscid << ", fs_name=" << filesystem.fs_name << "}";
  return out;
}

std::ostream& operator<<(std::ostream& out, const FilesystemSpec &spec) {
  out << "{filesystem=" << spec.filesystem << ", pool_id=" << spec.pool_id << "}";
  return out;
}

} // namespace mirror
} // namespace cephfs