]>
Commit | Line | Data |
---|---|---|
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 | ||
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 |