]> git.proxmox.com Git - ceph.git/blob - ceph/src/tools/cephfs_mirror/Types.cc
import ceph quincy 17.2.4
[ceph.git] / ceph / src / tools / cephfs_mirror / Types.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #include "Types.h"
5
6 namespace cephfs {
7 namespace mirror {
8
9 std::ostream& operator<<(std::ostream& out, const Filesystem &filesystem) {
10 out << "{fscid=" << filesystem.fscid << ", fs_name=" << filesystem.fs_name << "}";
11 return out;
12 }
13
14 std::ostream& operator<<(std::ostream& out, const FilesystemSpec &spec) {
15 out << "{filesystem=" << spec.filesystem << ", pool_id=" << spec.pool_id << "}";
16 return out;
17 }
18
19 } // namespace mirror
20 } // namespace cephfs
21