]> git.proxmox.com Git - ceph.git/blame - ceph/src/tools/cephfs_mirror/Types.cc
import ceph quincy 17.2.4
[ceph.git] / ceph / src / tools / cephfs_mirror / Types.cc
CommitLineData
f67539c2
TL
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
6namespace cephfs {
7namespace mirror {
8
9std::ostream& operator<<(std::ostream& out, const Filesystem &filesystem) {
10 out << "{fscid=" << filesystem.fscid << ", fs_name=" << filesystem.fs_name << "}";
11 return out;
12}
13
14std::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