summaryrefslogtreecommitdiffstats
path: root/src/osd/recovery_types.cc
blob: 70ba1fd797edee7d0972f891b866e2e735b8057b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "recovery_types.h"

std::ostream& operator<<(std::ostream& out, const BackfillInterval& bi)
{
  out << "BackfillInfo(" << bi.begin << "-" << bi.end
      << " " << bi.objects.size() << " objects";
  if (!bi.objects.empty())
    out << " " << bi.objects;
  out << ")";
  return out;
}