summaryrefslogtreecommitdiffstats
path: root/src/crimson/os/seastore/onode.cc
blob: 96b69fb7c30f1df1973192e5762090add7a24b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
// vim: ts=8 sw=2 smarttab

#include "onode.h"
#include <iostream>

namespace crimson::os::seastore {

std::ostream& operator<<(std::ostream &out, const Onode &rhs)
{
  auto &layout = rhs.get_layout();
  return out << "Onode("
             << "size=" << static_cast<uint32_t>(layout.size)
             << ")";
}

}