summaryrefslogtreecommitdiffstats
path: root/src/crimson/os/seastore/onode.cc
blob: f3fd6eb18a5ac6500dd778275f89e569aad48b92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- 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("
	     << "hobj=" << rhs.hobj << ", "
             << "size=" << static_cast<uint32_t>(layout.size)
             << ")";
}

}